Browse Source

!6352 [gpu timeline] fix a bug of gpu timeline incorrect time unit

Merge pull request !6352 from gzhcv/GpuTimeline
tags/v1.0.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
45a5998cd4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/profiler/parser/integrator.py

+ 1
- 1
mindspore/profiler/parser/integrator.py View File

@@ -678,7 +678,7 @@ class GpuTimelineGenerator(BaseTimelineGenerator):
timeline_dict['args'] = args_dict
else:
# Update total time of operator execution.
self._timeline_summary['total_time'] += dur
self._timeline_summary['total_time'] += dur / factor
self._timeline_summary['op_exe_times'] += 1

self._timeline_meta.append(timeline_dict)


Loading…
Cancel
Save