annotate cos/kernel/timer.c @ 24:d8627924d40d

Split up in more files and reboot command
author windel
date Fri, 02 Dec 2011 14:00:02 +0100
parents
children d3c4bf3720a3
rev   line source
24
d8627924d40d Split up in more files and reboot command
windel
parents:
diff changeset
1 #include "kernel.h"
d8627924d40d Split up in more files and reboot command
windel
parents:
diff changeset
2
d8627924d40d Split up in more files and reboot command
windel
parents:
diff changeset
3 static uint64_t ticks = 0;
d8627924d40d Split up in more files and reboot command
windel
parents:
diff changeset
4
d8627924d40d Split up in more files and reboot command
windel
parents:
diff changeset
5 void timerDriverUpdate()
d8627924d40d Split up in more files and reboot command
windel
parents:
diff changeset
6 {
d8627924d40d Split up in more files and reboot command
windel
parents:
diff changeset
7 ticks++;
d8627924d40d Split up in more files and reboot command
windel
parents:
diff changeset
8 }
d8627924d40d Split up in more files and reboot command
windel
parents:
diff changeset
9
d8627924d40d Split up in more files and reboot command
windel
parents:
diff changeset
10 uint64_t getTimeMS()
d8627924d40d Split up in more files and reboot command
windel
parents:
diff changeset
11 {
d8627924d40d Split up in more files and reboot command
windel
parents:
diff changeset
12 return 55*ticks;
d8627924d40d Split up in more files and reboot command
windel
parents:
diff changeset
13 }
d8627924d40d Split up in more files and reboot command
windel
parents:
diff changeset
14