diff --git a/paddle/fluid/platform/profiler.cc b/paddle/fluid/platform/profiler.cc index 6d055a442106d88af39c771f3ddf156ba616c99f..124e0da571d657e02a0d81634dcc8c27d2728e4e 100644 --- a/paddle/fluid/platform/profiler.cc +++ b/paddle/fluid/platform/profiler.cc @@ -498,7 +498,7 @@ void ParseEvents(const std::vector> &events, event_idx[event_name] = event_items.size(); EventItem event_item = {event_name, 1, event_time, event_time, event_time, event_time, - gpu_time, cpu_time, 0.}; + cpu_time, gpu_time, 0.}; event_items.push_back(event_item); } else { int index = event_idx[event_name];