Searched refs:kBasicTimeTransferUnit (Results 1 – 3 of 3) sorted by relevance
78 << op_name_launch_time_vec_[i - 1].second * kBasicTimeTransferUnit << std::endl; in ExportDeviceInfoToFile()113 std::cout << op_name_launch_time_vec_[i - 1].second * kBasicTimeTransferUnit; in ExportDeviceInfoToScreen()181 std::cout << i.second.second * kBasicTimeTransferUnit; in ExportStageTimePointToScreen()203 of_host << stage_stat_time_vec_[i].second * kBasicTimeTransferUnit; in ExportStageStatTimeToFile()206 of_host << ',' << stage_stat_time_vec_[i].second * kBasicTimeTransferUnit; in ExportStageStatTimeToFile()226 std::cout << i.second * kBasicTimeTransferUnit; in ExportStageStatTimeToScreen()
536 constexpr int kBasicTimeTransferUnit = 1000; variable
1265 double launch_start_time = launch_end_time - cost_time / kBasicTimeTransferUnit; in LaunchKernelWithPynativeProfiling()1268 …ler::SetDeviceOpNameAndLaunchCostTime(std::make_pair(op_name, cost_time / kBasicTimeTransferUnit)); in LaunchKernelWithPynativeProfiling()