diff options
author | 2016-09-02 12:07:08 -0800 | |
---|---|---|
committer | 2016-09-02 13:18:24 -0700 | |
commit | fde804eaa0e7f5a1534bd6f0dbd71081a6210ff6 (patch) | |
tree | 5d866ee205ccb12010dded0761803179d0c74bf0 /tensorflow/contrib/quantization | |
parent | cf8203cab6349c1d8cce1e8cd3bfde1abbb69828 (diff) |
Move CpuUtils to more appropriate place, core/platform/profile_utils
Change: 132095035
Diffstat (limited to 'tensorflow/contrib/quantization')
-rw-r--r-- | tensorflow/contrib/quantization/kernels/hexagon/quantized_matmul_op_for_hexagon_test.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tensorflow/contrib/quantization/kernels/hexagon/quantized_matmul_op_for_hexagon_test.cc b/tensorflow/contrib/quantization/kernels/hexagon/quantized_matmul_op_for_hexagon_test.cc index 3a36985852..945341d325 100644 --- a/tensorflow/contrib/quantization/kernels/hexagon/quantized_matmul_op_for_hexagon_test.cc +++ b/tensorflow/contrib/quantization/kernels/hexagon/quantized_matmul_op_for_hexagon_test.cc @@ -31,7 +31,7 @@ limitations under the License. #ifdef USE_HEXAGON_LIBS #include "tensorflow/core/platform/hexagon/gemm_wrapper.h" -#include "tensorflow/core/platform/hexagon/profile_utils/cpu_utils.h" +#include "tensorflow/core/platform/profile_utils/cpu_utils.h" #endif namespace tensorflow { @@ -54,16 +54,16 @@ class QuantizedMatMulOpForHexagonTest : public OpsTestBase { #ifdef USE_HEXAGON_LIBS TEST_F(QuantizedMatMulOpForHexagonTest, EvaluateSharedLibOverhead) { const uint64 overhead_shared_lib_start = - profile_utils::CpuUtils::GetCurrentCycleClock(); + profile_utils::CpuUtils::GetCurrentClockCycle(); const int wrapper_version = hexagon_gemm_wrapper_GetWrapperVersion(); const uint64 overhead_shared_lib_end = - profile_utils::CpuUtils::GetCurrentCycleClock(); + profile_utils::CpuUtils::GetCurrentClockCycle(); const uint64 overhead_hexagon_rpc_start = - profile_utils::CpuUtils::GetCurrentCycleClock(); + profile_utils::CpuUtils::GetCurrentClockCycle(); const int hexagon_binary_version = hexagon_gemm_wrapper_GetHexagonBinaryVersion(); const uint64 overhead_hexagon_rpc_end = - profile_utils::CpuUtils::GetCurrentCycleClock(); + profile_utils::CpuUtils::GetCurrentClockCycle(); LOG(INFO) << "Shared lib (ver = " << wrapper_version << ") overhead is " << (overhead_shared_lib_end - overhead_shared_lib_start) << " cycles"; |