Searched refs:GetTimeInMs (Results 1 – 1 of 1) sorted by relevance
/external/tensorflow/tensorflow/core/profiler/convert/ |
D | op_stats_to_input_pipeline_analysis.cc | 108 double GetTimeInMs(const Collection& type_ps, EventType event_type) { in GetTimeInMs() function 222 details.set_unknown_time_ms(GetTimeInMs(type_ps, UNKNOWN_TIME)); in ComputeGenericInputPipelineAnalysisResult() 223 details.set_host_wait_input_ms(GetTimeInMs(type_ps, HOST_WAIT_INPUT)); in ComputeGenericInputPipelineAnalysisResult() 224 details.set_host_to_device_ms(GetTimeInMs(type_ps, HOST_TO_DEVICE) + in ComputeGenericInputPipelineAnalysisResult() 225 GetTimeInMs(type_ps, DEVICE_WAIT_HOST)); in ComputeGenericInputPipelineAnalysisResult() 226 details.set_output_ms(GetTimeInMs(type_ps, DEVICE_TO_HOST)); in ComputeGenericInputPipelineAnalysisResult() 227 details.set_device_compute_ms(GetTimeInMs(type_ps, DEVICE_COMPUTE_16) + in ComputeGenericInputPipelineAnalysisResult() 228 GetTimeInMs(type_ps, DEVICE_COMPUTE_32)); in ComputeGenericInputPipelineAnalysisResult() 229 details.set_device_to_device_ms(GetTimeInMs(type_ps, DEVICE_TO_DEVICE) + in ComputeGenericInputPipelineAnalysisResult() 230 GetTimeInMs(type_ps, DEVICE_WAIT_DEVICE)); in ComputeGenericInputPipelineAnalysisResult() [all …]
|