aboutsummaryrefslogtreecommitdiff
path: root/src/tests/test.c
blob: 247465eac7bdd287a1e47522dc92eb91560f0d57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <cpu.h>
#include <drivers/uart.h>

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);
}