This turned into me writing a program that tries to detects if it's running inside of a #VM. So I can then try to make the VM less detectable. And because I was using the #RDTSC and #CPUID instructions I continued developing my CPUID program that I've never finished.
https://git.enitin.xyz/enitin/cpuid
A classic rabbit hole.
"I want to do this. But that means I have to do that. Which means I can continue that other thing I've started doing some time ago." 
Enitin / CPUID · GitLab

Reads CPU infos from CPU registers.

GitLab

Краткое сравнение популярных функций измерения времени

Какую реальную точность можно ожидать от функции возвращающей время, а сколько времени она выполняется сама? Попытка замерить и сравнить несколько десятков функций, доступных программисту на C++. Вот что получилось

https://habr.com/ru/articles/818965/

#rdtsc #rdtscp #windows #linux #QueryPerformanceCounter #clock_gettime #gettimeofday #CNTVCT_EL0

Краткое сравнение популярных функций измерения времени

Попросил DALL-E нарисовать программиста, выбирающего секундомер. Вот результат ) Решил обновить свою старую крохотную библиотечку для тайминга кода. Измерение коротких временнЫх интервалов в ней...

Хабр