66 if (
nr > 1)
ostream <<
" (" <<
nr <<
" invocations)";
85 for (i= 0; i < n; i++)
int N(array< T > a)
Get the length of the array.
The list class represents a linked list.
iterator< T > iterate(hashmap< T, U > h)
Generates an iterator for a container of type hashmap<T, U>.
void merge_sort(array< T > &a)
static array< string > collect(hashmap< string, uint32_t > h)
static hashmap< string, uint32_t > timing_level(0)
void timer_reset(string task)
void bench_print(tm_ostream &ostream, string task, uint32_t threshold)
static hashmap< string, uint32_t > timing_cumul(0)
static hashmap< string, uint32_t > timing_nr(0)
void timer_start(string task)
static hashmap< string, uint32_t > timing_last(0)
void timer_cumul(string task)