1
0
C_lib/utils/time_function.h

14 lines
345 B
C
Raw Normal View History

/* This header defines a struct for storing function timing information. */
#ifndef TIME_FUNCTION_H
#define TIME_FUNCTION_H
2021-09-30 19:01:57 +00:00
#include <time.h>
/* Struct used to store the results. */
typedef struct function_run_time {
/* Function name. */
char *name;
/* Length of run time. */
2021-09-30 19:01:57 +00:00
clock_t time;
} function_run_time;
#endif /* TIME_FUNCTION_H */