My Final update of RDTSC is using RDTSCP which more efficiently now we back to use SetThreadAffinityMask in core 0 since without its can cause drift time and loops in cores reduce the freq to 1 microsecond more efficiently Enjoy the best timer
RDTSC + CPUID (in reverse order, here) to flush the pipeline, and incurred up to a 60x overhead (!) on a Virtual Machine (my working environment) due to hypercalls and whatnot. This is both with and without HW Virtualization enabled.
Most recently I've come across the RDTSCP* instruction, which seems to do what RDTSC+CPUID did, but more efficiently as it's a newer instruction - only a 1.5x-2x overhead, relatively.
i update here so u guys can compile it
https://github.com/Zcytxcbyz/DLLHighResolutionTimer
monitors xg258q aw2518hf 27GK750F-B pg248q xg240r lg w2363d-pf xb270hu XL2546 XL2546K NXG252R