View Single Post
Old 08-03-2018, 00:57
DavidXanatos DavidXanatos is offline
Join Date: Jun 2018
Posts: 127
Rept. Given: 1
Rept. Rcvd 31 Times in 21 Posts
Thanks Given: 40
Thanks Rcvd at 270 Times in 85 Posts
DavidXanatos Reputation: 31
You mean like to debug an entire operating system?
Or to debug an app inside an operating system (kinda like edge now runs in win 10)?

How about trying some convoluted means of time measurement, for example,
lock a Mutex and than try to lock it again with a call that times out after 1sec or so.
And than always compare the result to what you get from the rdtsc.

i.e. try to compare different timing sources, unless you would debug the entire os and modify all timing sources to keep them in sync that would be a way to detect something is wrong.

Of cause comparing against a server time would also be an option but well that needs a network connection.
Reply With Quote
The Following User Says Thank You to DavidXanatos For This Useful Post:
niculaita (08-03-2018)