microkernel
microkernel copied to clipboard
[tm] Global Clock Error
Description
We should introduce a global clock error for improving accuracy of timing statistics. Overall, the idea is to make the following code global:
t1 = clock_read();
t2 = clock_read();
clock_error = (t2 - t1);
References
https://github.com/nanvix/microkernel/blob/deb1ebe3b5e94b49eac87997b5d93f902348b5af/src/kernel/noc/active.c#L1055