microkernel icon indicating copy to clipboard operation
microkernel copied to clipboard

[tm] Global Clock Error

Open ppenna opened this issue 4 years ago • 0 comments

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

ppenna avatar Aug 25 '20 10:08 ppenna