Fixed timer issues, tests should pass

Reduced test duration by a factor of 11,000. Don't ask.

Also, something funny is going on with the time headers, so I
stuck them into source/toy_common.h, I'll figure it out later.
This commit is contained in:
2022-11-12 04:45:35 +11:00
parent 3d8ce4e7d8
commit 30b068fcdb
3 changed files with 6 additions and 4 deletions

View File

@@ -1,9 +1,9 @@
#include "lib_timer.h"
#include "toy_common.h"
#include "memory.h"
#include <stdio.h>
#include "toy_common.h"
//god damn it
static struct timeval* diff(struct timeval* lhs, struct timeval* rhs) {