I love this, so I @jpm@aus.social · activity timestamp 1 hour ago @dysfun there's also a _nofence variant:#define rdtsc_nofence(lo, hi) \ __asm__ volatile("rdtsc" : "=a" (lo), "=d" (hi))static inline uint64_trdtsc64_nofence(void){ uint64_t lo, hi; rdtsc_nofence(lo, hi); return ((hi) << 32) | (lo);} Read more Read less Translate Translate #define Reply Boost Quote Like More actions Copy link Flag this post Block