Provide a system call or library function which gives the number of CPU instructions this thread has executed, independent of CPU time or wall clock time.
Perhaps (probably) approximate: maybe the OS tracks CPU time per thread and returns that number multiplied by a factor.
Get a heterogenous collection of computers to all do the same amount of work, perhaps for benchmarking.
No comments :
Post a Comment