First commit, Vystem v0.1
This commit is contained in:
13
shelter/lib/include/kernel/tests/test_utils.h
Normal file
13
shelter/lib/include/kernel/tests/test_utils.h
Normal file
@@ -0,0 +1,13 @@
|
||||
// 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
|
||||
Reference in New Issue
Block a user