Added stopwatch
This commit is contained in:
parent
0516d85094
commit
e25fbf7a3a
2 changed files with 70 additions and 2 deletions
|
|
@ -35,7 +35,7 @@ typedef enum {
|
|||
* @param algorithm The sorting algorithm
|
||||
* @return The name of the algorithm.
|
||||
*/
|
||||
<type> get_algorithm_name(<params>);
|
||||
char* get_algorithm_name(SortingAlgorithm algorithm);
|
||||
|
||||
|
||||
#ifdef LIST_VARIANT
|
||||
|
|
@ -64,7 +64,7 @@ void print_list(char* prefix, IntList list);
|
|||
* @param criterion The pointer to the function that implements the sorting criterion.
|
||||
* That function accepts two integer parameters and returns a boolean value.
|
||||
*/
|
||||
void sort_list(<params>);
|
||||
void sort_list(IntList list, SortingAlgorithm algorithm, criterion_fn criterion);
|
||||
|
||||
#else /* ARRAY_VARIANT */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue