14 lines
552 B
C
14 lines
552 B
C
// SPDX-License-Identifier: MPL-2.0
|
|
#ifndef SH_LIB_TEST_UTILS_H
|
|
#define SH_LIB_TEST_UTILS_H
|
|
#include "std/type.h"
|
|
#include "std/status.h"
|
|
#include "cpu/tsc.h"
|
|
// Compute and print time stats based on provided list of TSC values.
|
|
SH_STATUS sh_test_compute_print_stats(char* benchname,sh_tsc_TSC_VALUE *tsc_value_array,sh_uint64 array_size);
|
|
// Return pointer to TSC values buffer
|
|
sh_tsc_TSC_VALUE* sh_test_get_tsc_values_buffer_ptr();
|
|
// Load the number of iterations for benchmarks.
|
|
void sh_test_load_iterations_count(sh_uint64 iterations_num);
|
|
#endif
|