From: Will Sowerbutts Date: Sat, 27 Dec 2014 01:52:51 +0000 (+0000) Subject: Kernel: Increment both 16-bit and 32-bit tick counters on every timer interrupt X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=43f6a789ffff1bcf28c4c51c366dc989203d5192;p=FUZIX.git Kernel: Increment both 16-bit and 32-bit tick counters on every timer interrupt --- diff --git a/Kernel/process.c b/Kernel/process.c index 1e114747..e47d468b 100644 --- a/Kernel/process.c +++ b/Kernel/process.c @@ -328,6 +328,7 @@ void timer_interrupt(void) udata.u_utime++; } ticks++; + miniticks++; /* Do once-per-decisecond things - this doesn't work out well on boxes with 64 ticks/second.. need a better approach */