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 [...]
Books
Recent Tweets
- Anyone know where one can get tickets to the Remember Shakti concert that's allegedly happening next Friday? 2012/02/04
- RT @jackerhack: Kudos to Cleartrip for a clean fix. RT @Cleartrip: Fixing the "Cleartrip Hurry Algorithm": http://t.co/8WcAKctO 2012/02/03
- @thesixtyone want API! :-) 2012/02/02
Flickr Photostream
-
Recent Posts
Tags
astronomy beagle birds 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 xkcd







