File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
paddle/fluid/operators/detail Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -434,8 +434,8 @@ int VariableResponse::Parse(Source* source) {
434
434
return tag;
435
435
}
436
436
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 ) {
439
439
break ;
440
440
}
441
441
if (profiling && !platform::IsProfileEnabled ()) {
@@ -444,7 +444,7 @@ int VariableResponse::Parse(Source* source) {
444
444
// TODO(panyx0718): Should we allow to customize file dir.
445
445
platform::DisableProfiler (
446
446
platform::EventSortingKey::kDefault ,
447
- string::Sprintf (" /tmp/profile_ps_%lld" , lisner_id ));
447
+ string::Sprintf (" /tmp/profile_ps_%lld" , listener_id ));
448
448
}
449
449
break ;
450
450
}
You can’t perform that action at this time.
0 commit comments