Compare the data item in a list cell.
ee_s32 cmp_complex( list_data * a, list_data * b, core_results * res )
Compare the idx item in a list cell, and regen the data.
ee_s32 cmp_idx( list_data * a, list_data * b, core_results * res )
Benchmark function
ee_u16 core_bench_matrix( mat_params * p, ee_s16 seed, ee_u16 crc )
Benchmark function
ee_u16 core_bench_state( ee_u32 blksize, ee_u8 * memblock, ee_s16 seed1, ee_s16 seed2, ee_s16 step, ee_u16 crc )
Initialize the input data for the state machine.
void core_init_state( ee_u32 size, ee_s16 seed, ee_u8 * p )
Find an item in the list
list_head *core_list_find( list_head * list, list_data * info )
Initialize list with data.
list_head *core_list_init( ee_u32 blksize, list_head * memblock, ee_s16 seed )
Insert an item to the list
list_head *core_list_insert_new( list_head * insert_point, list_data * info, list_head ** memblock, list_data **datablock , list_head * memblock_end, list_data * datablock_end )
Sort the list in place without recursion.
list_head *core_list_mergesort( list_head * list, list_cmp cmp, core_results * res )
Remove an item from the list.
list_head *core_list_remove( list_head * item )
Reverse a list
list_head *core_list_reverse( list_head * list )
Undo a remove operation.
list_head *core_list_undo_remove( list_head * item_removed, list_head * item_modified )
Actual state machine.
enum CORE_STATE core_state_transition( ee_u8 **instr , ee_u32 * transition_count )
Return an abstract “ticks” number that signifies time on the system.
CORE_TICKS get_time( void )
Main entry routine for the benchmark.
#if MAIN_HAS_NOARGC MAIN_RETURN_TYPE main( void )
Add a constant value to all elements of a matrix.
void matrix_add_const( ee_u32 N, MATDAT * A, MATDAT val )
Multiply a matrix by a constant.
void matrix_mul_const( ee_u32 N, MATRES * C, MATDAT * A, MATDAT val )
Multiply a matrix by a matrix.
void matrix_mul_matrix( ee_u32 N, MATRES * C, MATDAT * A, MATDAT * B )
Multiply a matrix by a matrix, and extract some bits from the result.
void matrix_mul_matrix_bitextract( ee_u32 N, MATRES * C, MATDAT * A, MATDAT * B )
Multiply a matrix by a vector.
void matrix_mul_vect( ee_u32 N, MATRES * C, MATDAT * A, MATDAT * B )
Calculate a function that depends on the values of elements in the matrix.
ee_s16 matrix_sum( ee_u32 N, MATRES * C, MATDAT clipval )
Perform matrix manipulation.
ee_s16 matrix_test( ee_u32 N, MATRES * C, MATDAT * A, MATDAT * B, MATDAT val )
Target specific final code
void portable_fini( core_portable * p )
Provide free() functionality in a platform specific way.
void portable_free( void * p )
Target specific initialization code Test for some common mistakes.
void portable_init( core_portable * p, int * argc, char * argv[] )
Provide malloc() functionality in a platform specific way.
void *portable_malloc( size_t size )
This function will be called right before starting the timed portion of the benchmark.
void start_time( void )
This function will be called right after ending the timed portion of the benchmark.
void stop_time( void )
Convert the value returned by get_time to seconds.
secs_ret time_in_secs( CORE_TICKS ticks )