[dense-linear-algebra-libraries/linalg.git] / src / ti / linalg / blis / frame / 3 / gemm / bli_gemm_int.c
diff --git a/src/ti/linalg/blis/frame/3/gemm/bli_gemm_int.c b/src/ti/linalg/blis/frame/3/gemm/bli_gemm_int.c
index af1ba8d8600fe8c28ff743b9ea117221b8762e54..9fe0e3c773da4217644fafdffc9fdff7b142c70c 100644 (file)
impl_t i;
FUNCPTR_T f;
#if defined(BLIS_ENABLE_PROFILE)
- volatile uint64_t counter_start;
- volatile uint64_t counter_end;
+ uint64_t counter_start;
+ uint64_t counter_end;
extern profile_data_t *bli_gemm_profile_data;
dim_t m_var, k_var, n_var;
dim_t index;
n_var = bli_obj_width( c_local );
#if defined(BLIS_ENABLE_C66X_BUILD)
- TSCL = 0;
- counter_start = lib_clock64();
+ lib_clock_enable();
+ counter_start = lib_clock_read();
#else
counter_start = (uint64_t) (bli_clock()*1.2e9);
#endif
#if defined(BLIS_ENABLE_PROFILE)
#if defined(BLIS_ENABLE_C66X_BUILD)
- counter_end = lib_clock64();
+ counter_end = lib_clock_read();
#else
counter_end = (uint64_t) (bli_clock()*1.2e9);
#endif