code organization changes

This commit is contained in:
2023-12-11 22:56:27 +02:00
parent dda5684a9d
commit 18390b886c
10 changed files with 188 additions and 172 deletions
+2 -2
View File
@@ -5,14 +5,14 @@
struct timeval start_time;
double get_time() {
double get_time(void) {
struct timeval current_time;
gettimeofday(&current_time, NULL);
return (double)(current_time.tv_sec - start_time.tv_sec) + (double)(current_time.tv_usec - start_time.tv_usec) / 1000000.0;
}
void start_internal_timer() {
void start_internal_timer(void) {
gettimeofday(&start_time, NULL);
}