Skip to content

Commit d1ea74d

Browse files
committed
follow comments
1 parent 5a9f17f commit d1ea74d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

paddle/fluid/operators/detail/variable_response.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,8 @@ int VariableResponse::Parse(Source* source) {
434434
return tag;
435435
}
436436
meta_.set_profile(profiling);
437-
int64_t lisner_id = platform::ListenerId();
438-
if (lisner_id <= 0) {
437+
int64_t listener_id = platform::ListenerId();
438+
if (listener_id <= 0) {
439439
break;
440440
}
441441
if (profiling && !platform::IsProfileEnabled()) {
@@ -444,7 +444,7 @@ int VariableResponse::Parse(Source* source) {
444444
// TODO(panyx0718): Should we allow to customize file dir.
445445
platform::DisableProfiler(
446446
platform::EventSortingKey::kDefault,
447-
string::Sprintf("/tmp/profile_ps_%lld", lisner_id));
447+
string::Sprintf("/tmp/profile_ps_%lld", listener_id));
448448
}
449449
break;
450450
}

0 commit comments

Comments
 (0)