Home
last modified time | relevance | path

Searched refs:PicosToMicros (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/convert/
Dop_stats_to_pod_stats_test.cc89 EXPECT_NEAR(PicosToMicros(kStepTimePs), record.total_duration_us(), in TEST()
92 EXPECT_NEAR(PicosToMicros(kDeviceCompute32Ps + kDeviceCompute16Ps), in TEST()
94 EXPECT_NEAR(PicosToMicros(kDeviceToDevicePs + kDeviceWaitDevicePs), in TEST()
96 EXPECT_NEAR(PicosToMicros(kDeviceCollectivePs), in TEST()
98 EXPECT_NEAR(PicosToMicros(kHostComputePs), breakdown.at(kHostCompute), in TEST()
100 EXPECT_NEAR(PicosToMicros(kHostPreparePs), breakdown.at(kHostPrepare), in TEST()
103 PicosToMicros(kHostWaitInputPs + kHostToDevicePs + kDeviceWaitHostPs), in TEST()
105 EXPECT_NEAR(PicosToMicros(kDeviceToHostPs), breakdown.at(kOutput), kMaxError); in TEST()
106 EXPECT_NEAR(PicosToMicros(kHostCompilePs), breakdown.at(kCompile), kMaxError); in TEST()
107 EXPECT_NEAR(PicosToMicros(kUnknownTimePs), breakdown.at(kAllOthers), in TEST()
Dop_stats_to_pod_viewer_test.cc93 EXPECT_NEAR(PicosToMicros(kStepTimePs), record.total_duration_us(), in TEST()
96 EXPECT_NEAR(PicosToMicros(kDeviceCompute32Ps + kDeviceCompute16Ps), in TEST()
98 EXPECT_NEAR(PicosToMicros(kDeviceToDevicePs + kDeviceWaitDevicePs), in TEST()
100 EXPECT_NEAR(PicosToMicros(kDeviceCollectivePs), in TEST()
102 EXPECT_NEAR(PicosToMicros(kHostComputePs), breakdown.at(kHostCompute), in TEST()
104 EXPECT_NEAR(PicosToMicros(kHostPreparePs), breakdown.at(kHostPrepare), in TEST()
107 PicosToMicros(kHostWaitInputPs + kHostToDevicePs + kDeviceWaitHostPs), in TEST()
109 EXPECT_NEAR(PicosToMicros(kDeviceToHostPs), breakdown.at(kOutput), kMaxError); in TEST()
110 EXPECT_NEAR(PicosToMicros(kHostCompilePs), breakdown.at(kCompile), kMaxError); in TEST()
111 EXPECT_NEAR(PicosToMicros(kUnknownTimePs), breakdown.at(kAllOthers), in TEST()
Dop_stats_to_pod_stats.cc40 record.set_total_duration_us(PicosToMicros(step_info.duration_ps())); in CreatePodStatsRecord()
50 step_breakdown_map[type] = PicosToMicros(ps); in CreatePodStatsRecord()
Dop_metrics_to_record.h34 record->set_total_time_in_us(PicosToMicros(metrics.time_ps())); in SetExecutionTimes()
37 record->set_total_self_time_in_us(PicosToMicros(metrics.self_time_ps())); in SetExecutionTimes()
Dop_stats_to_tf_stats.cc66 double total_device_time_us = PicosToMicros(total_device_time_ps); in GenerateTfStatsTable()
91 double total_host_time_us = PicosToMicros(total_host_time_ps); in GenerateTfStatsTable()
Dtrace_events_to_json.cc38 return MaxPrecision(PicosToMicros(ps)); in PicosToMicrosString()
Dop_stats_to_input_pipeline_analysis.cc486 PicosToMicros(op_metrics->self_time_ps()); in GenerateHostResult()
/external/tensorflow/tensorflow/core/profiler/utils/
Dtime_utils.h28 inline double PicosToMicros(uint64 ps) { return ps / 1E6; } in PicosToMicros() function
Dderived_timeline.cc320 PicosToMicros(group_info.max_launch_time_ps)); in DeriveEventsFromHostTrace()
323 PicosToMicros(group_info.total_launch_time_ps / in DeriveEventsFromHostTrace()