aboutsummaryrefslogtreecommitdiff
path: root/src/tests/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test.c')
-rw-r--r--src/tests/test.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/test.c b/src/tests/test.c
index 3903d95..f6213ae 100644
--- a/src/tests/test.c
+++ b/src/tests/test.c
@@ -21,4 +21,10 @@ void test_entry(void)
// atest
add_thread(atest, 0, 0);
+ sys0_64(SYS_TIME, &ti);
+ sys0(SYS_YIELD);
+ sys0_64(SYS_TIME, &tf);
+ dt += tf - ti;
+ DRAW64(34, 19, dt/64);
+ DRAW64(34+17, 19, dt%64);
}