Home
last modified time | relevance | path

Searched refs:kUSecondInSecond (Results 1 – 14 of 14) sorted by relevance

/third_party/mindspore/mindspore/lite/tools/optimizer/common/
Dpass_manager_extends.cc28 constexpr uint64_t kUSecondInSecond = 1000000; variable
68 std::chrono::duration<double, std::ratio<1, kUSecondInSecond>> cost = end_time - start_time; in Run()
72 uint64_t cost = kUSecondInSecond * static_cast<uint64_t>(end_time.tv_sec - start_time.tv_sec); in Run()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dembedding_look_up_comm_grad_cpu_kernel.cc73 const uint64_t kUSecondInSecond = 1000000; in Launch() local
76 std::chrono::duration<double, std::ratio<1, kUSecondInSecond>> cost = end_time - start_time; in Launch()
80 uint64_t time = kUSecondInSecond * static_cast<uint64_t>(end_time.tv_sec - start_time.tv_sec); in Launch()
/third_party/mindspore/tests/st/cpp/model/
Dtest_zero_copy.cc48 constexpr uint64_t kUSecondInSecond = 1000000; variable
155 …(kUSecondInSecond * static_cast<uint64_t>(end_time.tv_sec) + static_cast<uint64_t>(end_time.tv_use… in TEST_F()
156 …(kUSecondInSecond * static_cast<uint64_t>(start_time.tv_sec) + static_cast<uint64_t>(start_time.tv… in TEST_F()
170 …(kUSecondInSecond * static_cast<uint64_t>(end_time.tv_sec) + static_cast<uint64_t>(end_time.tv_use… in TEST_F()
171 …(kUSecondInSecond * static_cast<uint64_t>(start_time.tv_sec) + static_cast<uint64_t>(start_time.tv… in TEST_F()
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/
Dgraph_runner.cc156 const uint64_t kUSecondInSecond = 1000000; in RunGraph() local
157 uint64_t cost = kUSecondInSecond * static_cast<uint64_t>(end_time.tv_sec - start_time.tv_sec); in RunGraph()
/third_party/mindspore/mindspore/ccsrc/cxx_api/graph/acl/
Dmodel_process.cc479 constexpr uint64_t kUSecondInSecond = 1000000; in PredictFromHost() local
481 …(kUSecondInSecond * static_cast<uint64_t>(end_time.tv_sec) + static_cast<uint64_t>(end_time.tv_use… in PredictFromHost()
482 …(kUSecondInSecond * static_cast<uint64_t>(start_time.tv_sec) + static_cast<uint64_t>(start_time.tv… in PredictFromHost()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/akg/
Dakg_kernel_build.cc571 const uint64_t kUSecondInSecond = 1000000; in AkgKernelParallelBuild() local
572 uint64_t cost = kUSecondInSecond * static_cast<uint64_t>(end_time.tv_sec - start_time.tv_sec); in AkgKernelParallelBuild()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Dstep_parallel.h41 const uint64_t kUSecondInSecond = 1000000; variable
Dstep_auto_parallel.cc124 uint64_t time = kUSecondInSecond * static_cast<uint64_t>(end_time.tv_sec - start_time.tv_sec); in StepAutoParallel()
Dstep_parallel.cc3180 uint64_t time = kUSecondInSecond * static_cast<uint64_t>(end_time.tv_sec - start_time.tv_sec); in StepParallel()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dascend_kernel_runtime.cc702 const uint64_t kUSecondInSecond = 1000000; in Run() local
717 std::chrono::duration<double, std::ratio<1, kUSecondInSecond>> cost = end_time - start_time; in Run()
721 uint64_t cost = kUSecondInSecond * static_cast<uint64_t>(end_time.tv_sec - start_time.tv_sec); in Run()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/
Dascend_kernel_compile.cc579 const uint64_t kUSecondInSecond = 1000000; in AscendPreBuild() local
580 uint64_t cost = kUSecondInSecond * static_cast<uint64_t>(end_time.tv_sec - start_time.tv_sec); in AscendPreBuild()
/third_party/mindspore/mindspore/ccsrc/ps/ps_cache/
Dps_cache_manager.cc364 const uint64_t kUSecondInSecond = 1000000; in ProcessData() local
416 uint64_t cost = kUSecondInSecond * static_cast<uint64_t>(end_time.tv_sec - start_time.tv_sec); in ProcessData()
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dgpu_kernel_runtime.cc490 const uint64_t kUSecondInSecond = 1000000; in Run() local
491 uint64_t cost = kUSecondInSecond * static_cast<uint64_t>(end_time.tv_sec - start_time.tv_sec); in Run()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dascend_session.cc1316 const uint64_t kUSecondInSecond = 1000000; in BuildKernel() local
1317 uint64_t cost = kUSecondInSecond * static_cast<uint64_t>(end_time.tv_sec - start_time.tv_sec); in BuildKernel()