![]() | |||||||||||||
Messages in this thread |
Linus Torvalds wrote: > On Intel, if I recall correctly, rdtsc is totally serializing, so you're > testing not just the instructions between the rdtsc's, but the length of > the pipeline, and the time it takes for stuff around it to calm down. Actually, the Intel docs say that rdtsc is not serializing (specifically for the P6 series, but linked off the P4 section of the site) and their sample performance measuring code for the P4 shows it using a serializing instruction before the call to rdtsc. Chris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-03-22 14:07 [from the cache] ©2003-2008 | |||||||||||||