From 6e7f93d6a09865937dde1124a6c3f36eebcd9d82 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Fri, 4 Feb 2022 16:33:19 -0700 Subject: Move tests to own file --- src/tests/test.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/tests/test.c (limited to 'src/tests') diff --git a/src/tests/test.c b/src/tests/test.c new file mode 100644 index 0000000..247465e --- /dev/null +++ b/src/tests/test.c @@ -0,0 +1,17 @@ +#include +#include + +void utime(void); + +void test_entry(void) +{ +} + +void utime(void) +{ + unsigned long long ti, tf, dt; + sys0_64(SYS_TIME, &ti); + sys0_64(SYS_TIME, &tf); + dt = tf - ti; + PRINT64(dt); +} -- cgit v1.2.1