forked from mindspore-Ecosystem/mindspore
!23482 Deal with case that the timeline 8001 show all communication operators lacks part of the communication operator time in profiler.
Merge pull request !23482 from zangqx/master_gaojing2
This commit is contained in:
commit
75e7a5ebdc
|
@ -299,7 +299,7 @@ class Integrator:
|
||||||
reduce_info = self._sort_reduce_by_time(row_info_dict)
|
reduce_info = self._sort_reduce_by_time(row_info_dict)
|
||||||
if reduce_info:
|
if reduce_info:
|
||||||
reduce_infos.extend(reduce_info)
|
reduce_infos.extend(reduce_info)
|
||||||
|
reduce_infos.sort(key=lambda x: float(x[2]))
|
||||||
return reduce_infos
|
return reduce_infos
|
||||||
|
|
||||||
def _get_info_dict_from_row_data(self, row_info, time_type):
|
def _get_info_dict_from_row_data(self, row_info, time_type):
|
||||||
|
|
Loading…
Reference in New Issue