/third_party/mindspore/tests/st/pynative/ |
D | test_pynative_lenet.py | 161 cost_time = end_time - start_time 162 total_time = total_time + cost_time 164 print("======epoch: ", epoch, " loss: ", loss_output.asnumpy(), " cost time: ", cost_time) 198 cost_time = end_time - start_time 199 total_time = total_time + cost_time 201 print("======epoch: ", epoch, " loss: ", loss_output.asnumpy(), " cost time: ", cost_time)
|
D | test_pynative_resnet50_gpu.py | 413 cost_time = end_time - start_time 414 print("======step: ", step, " loss: ", loss_output.asnumpy(), " cost time: ", cost_time) 415 if step > 1 and cost_time > 0.18:
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/ |
D | gpu_event.cc | 50 void GpuEvent::ElapsedTime(float *cost_time, const DeviceEvent *other) { in ElapsedTime() argument 55 CHECK_CUDA_RET_WITH_EXCEPT_NOTRACE(cudaEventElapsedTime(cost_time, event_, gpu_event->event_), in ElapsedTime()
|
D | gpu_memory_copy_manager.cc | 51 bool profiling, float *cost_time) { in AddMemSwapInTask() argument 76 …CHECK_OP_RET_WITH_EXCEPT(CudaDriver::ElapsedTime(cost_time, start, end), "Failed to record elapsed… in AddMemSwapInTask()
|
D | gpu_event.h | 33 void ElapsedTime(float *cost_time, const DeviceEvent *other) override;
|
D | cuda_driver.cc | 223 bool CudaDriver::ElapsedTime(float *cost_time, const CudaDeviceEvent &start, const CudaDeviceEvent … in ElapsedTime() argument 224 auto ret = cudaEventElapsedTime(cost_time, (cudaEvent_t)start, (cudaEvent_t)end); in ElapsedTime()
|
D | gpu_memory_copy_manager.h | 44 float *cost_time) override;
|
D | cuda_driver.h | 63 …static bool ElapsedTime(float *cost_time, const CudaDeviceEvent &start, const CudaDeviceEvent &end…
|
D | gpu_kernel_runtime.cc | 915 float cost_time = 0; in LaunchKernelWithTimeProfiling() local 928 …CHECK_OP_RET_WITH_EXCEPT(CudaDriver::ElapsedTime(&cost_time, start, end), "Failed to record elapse… in LaunchKernelWithTimeProfiling() 930 mem_swap_manager_->AddKernelExecutionPerform(kernel, cost_time); in LaunchKernelWithTimeProfiling() 964 float cost_time = 0; in AddMemorySwapTask() local 966 &cost_time); in AddMemorySwapTask() 969 std::make_pair(0, cost_time)); in AddMemorySwapTask()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/ |
D | ascend_event.cc | 79 void AscendEvent::ElapsedTime(float *cost_time, const DeviceEvent *other) { in ElapsedTime() argument 84 auto ret = rtEventElapsedTime(cost_time, event_, ascend_other->event_); in ElapsedTime()
|
D | ascend_event.h | 33 void ElapsedTime(float *cost_time, const DeviceEvent *other) override;
|
/third_party/mindspore/tests/st/nontask_sink/ |
D | test_lenet.py | 152 cost_time = end_time - start_time 153 total_time = total_time + cost_time 155 print("======epoch: ", epoch, " loss: ", loss_output.asnumpy(), " cost time: ", cost_time)
|
/third_party/mindspore/tests/st/pynative/ms_function/ |
D | test_pynative_lenet_ms_function.py | 194 cost_time = end_time - start_time 195 total_time = total_time + cost_time 197 print("======epoch: ", epoch, " loss: ", loss_output.asnumpy(), " cost time: ", cost_time)
|
/third_party/mindspore/mindspore/core/ir/ |
D | device_event.h | 28 virtual void ElapsedTime(float *cost_time, const DeviceEvent *other) = 0;
|
/third_party/openh264/codec/encoder/core/inc/ |
D | stat.h | 62 int32_t cost_time; member
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/ |
D | cpu_kernel.cc | 129 double cost_time = GetTime() - start_time; in ParallelForAutoSearch() local 130 parallel_search_info->tmp_sum_cost_time += cost_time; in ParallelForAutoSearch() 205 double cost_time = GetTime() - start_time; in ParallelLaunchAutoSearch() local 206 parallel_search_info->tmp_sum_cost_time += cost_time; in ParallelLaunchAutoSearch()
|
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/ |
D | pynative_profiling.h | 40 static void SetStageStatTime(const std::string &stage_name, double cost_time);
|
D | pynative_profiling.cc | 135 void PynativeProfiler::SetStageStatTime(const std::string &stage_name, double cost_time) { in SetStageStatTime() argument 139 stage_stat_time_vec_.emplace_back(stage_name, cost_time); in SetStageStatTime()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/mem_reuse/ |
D | mem_copy_manager.h | 109 float *cost_time) {} in AddMemSwapInTask() argument
|
D | mem_swap_manager.h | 53 bool mock, bool profiling = false, float *cost_time = nullptr) const;
|
D | mem_swap_manager.cc | 306 float *cost_time) const { in AddMemSwapTask() 311 mem_copy_manager_->AddMemSwapInTask(device_address, host_address, profiling, cost_time); in AddMemSwapTask()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/ |
D | cpu_kernel_runtime.cc | 491 double cost_time = GetTime() - start_time; in Run() local 492 …MS_LOG(INFO) << "cpu kernel: " << kernel->fullname_with_scope() << " costs " << cost_time * 1e6 <… in Run()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/ |
D | kernel_runtime.cc | 1251 float cost_time = 0; in LaunchKernelWithPynativeProfiling() local 1263 start->ElapsedTime(&cost_time, end.get()); in LaunchKernelWithPynativeProfiling() 1265 double launch_start_time = launch_end_time - cost_time / kBasicTimeTransferUnit; in LaunchKernelWithPynativeProfiling() 1268 …PynativeProfiler::SetDeviceOpNameAndLaunchCostTime(std::make_pair(op_name, cost_time / kBasicTimeT… in LaunchKernelWithPynativeProfiling()
|