[dense-linear-algebra-libraries/linalg.git] / src / ti / linalg / blis / frame / 3 / trmm / bli_trmm_ru_ker_var2.c
diff --git a/src/ti/linalg/blis/frame/3/trmm/bli_trmm_ru_ker_var2.c b/src/ti/linalg/blis/frame/3/trmm/bli_trmm_ru_ker_var2.c
index 8d23b56e30ceaefa99c3b2d58cc11f52322c58aa..17cf468cf979cdbdfcf8a247cfd4326e41b9bc25 100644 (file)
lib_emt_Handle emt_handle_c1 = NULL; \
\
/*For DSP timing*/ \
- volatile uint64_t counter_start_ker, counter_start_nr, counter_start_mr; \
- volatile uint64_t counter_end_ker, counter_end_nr, counter_end_mr; \
+ uint64_t counter_start_ker, counter_start_nr, counter_start_mr; \
+ uint64_t counter_end_ker, counter_end_nr, counter_end_mr; \
extern profile_data_t *bli_trmm_profile_data; \
\
/*
/* Loop over the n dimension (NR columns at a time). */ \
if (BLIS_ENABLE_PROFILE_KERVAR2 == 1) \
{ \
- counter_start_nr = lib_clock64(); \
+ counter_start_nr = lib_clock_read(); \
} \
/* Transfering MC(=m)xNR*/ \
if (cs_c*sizeof(ctype) < BLIS_C66X_MAXDMASTRIDE) \
/* Loop over the m dimension (MR rows at a time). */ \
if (BLIS_ENABLE_PROFILE_KERVAR2 == 1) \
{ \
- counter_start_mr = lib_clock64(); \
+ counter_start_mr = lib_clock_read(); \
} \
for ( i = 0; i < m_iter; ++i ) \
{ \
/* Handle interior and edge cases separately. */ \
if (BLIS_ENABLE_PROFILE_KERVAR2 == 1) \
{ \
- counter_start_ker = lib_clock64(); \
+ counter_start_ker = lib_clock_read(); \
} \
if ( m_cur == MR && n_cur == NR ) \
{ \
} \
if (BLIS_ENABLE_PROFILE_KERVAR2 == 1) \
{ \
- counter_end_ker = lib_clock64(); \
+ counter_end_ker = lib_clock_read(); \
bli_profile_data_update(bli_trmm_profile_data[bli_get_thread_num()+BLIS_MAX_NUM_THREADS*BLIS_PROFILE_KER_LOOP_IND],\
(counter_end_ker-counter_start_ker), 2*k_b0111*m_cur*n_cur); \
} \
} \
if (BLIS_ENABLE_PROFILE_KERVAR2 == 1) \
{ \
- counter_end_mr = lib_clock64(); \
+ counter_end_mr = lib_clock_read(); \
bli_profile_data_update(bli_trmm_profile_data[bli_get_thread_num()+BLIS_MAX_NUM_THREADS*BLIS_PROFILE_IR_LOOP_IND], \
(counter_end_mr-counter_start_mr), 2*k_b0111*m*n_cur); \
} \
/* Loop over the m dimension (MR rows at a time). */ \
if (BLIS_ENABLE_PROFILE_KERVAR2 == 1) \
{ \
- counter_start_mr = lib_clock64(); \
+ counter_start_mr = lib_clock_read(); \
} \
for ( i = 0; i < m_iter; ++i ) \
{ \
/* Handle interior and edge cases separately. */ \
if (BLIS_ENABLE_PROFILE_KERVAR2 == 1) \
{ \
- counter_start_ker = lib_clock64(); \
+ counter_start_ker = lib_clock_read(); \
} \
if ( m_cur == MR && n_cur == NR ) \
{ \
} \
if (BLIS_ENABLE_PROFILE_KERVAR2 == 1) \
{ \
- counter_end_ker = lib_clock64(); \
+ counter_end_ker = lib_clock_read(); \
bli_profile_data_update(bli_trmm_profile_data[bli_get_thread_num()+BLIS_MAX_NUM_THREADS*BLIS_PROFILE_KER_LOOP_IND], \
(counter_end_ker-counter_start_ker), 2*k*m_cur*n_cur); \
} \
} \
if (BLIS_ENABLE_PROFILE_KERVAR2 == 1) \
{ \
- counter_end_mr = lib_clock64(); \
+ counter_end_mr = lib_clock_read(); \
bli_profile_data_update(bli_trmm_profile_data[bli_get_thread_num()+BLIS_MAX_NUM_THREADS*BLIS_PROFILE_IR_LOOP_IND], \
(counter_end_mr-counter_start_mr), 2*k*m*n_cur); \
} \
} \
if (BLIS_ENABLE_PROFILE_KERVAR2 == 1) \
{ \
- counter_end_nr = lib_clock64(); \
+ counter_end_nr = lib_clock_read(); \
bli_profile_data_update(bli_trmm_profile_data[bli_get_thread_num()+BLIS_MAX_NUM_THREADS*BLIS_PROFILE_JR_LOOP_IND], \
(counter_end_nr-counter_start_nr), 2*k*m*n); \
} \