Blame for this: static inline uint64_t get_ts() { uint32_t low, high; asm(“rdtsc” : “=a” (low), “=d” (high)); ts = high; return ((uint64_t)high << 32) + low; } /* From kernel sources: include/asm-i386/processor.h / / * Generic CPUID function * clear %ecx since some cpus (Cyrix MII) do not set or clear %ecx * resulting in [...]
-
Recent Posts
Tags
android astronomy beagle books code collabora college colleges culture douglas adams drm f/oss foss.in foss.in/2008 fosskriti freedom funny games gate geek gentoo gnome gstreamer guitar iit laptop life linux lj meme movies music photos poetry politics pulseaudio quote rant rygel soc tattoo technical videos work xkcdArchives