Don't use TSC for internal timing purposes.  This is for two reasons:
 - old CPUs (and their modern embedded clones) don't implement the TSC
 - new machines with power management, the TSC changes rate, and so is
   useless as a timebase
Valgrind doesn't use read_millisecond_timer very much these days, so
the expense of doing a gettimeofday syscall shouldn't be a huge issue.
Naturally, rdtsc is still available for client purposes (if the host CPU
supports it).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2226 a5019735-40e9-0310-863c-91ae7b9d1cf9
3 files changed