-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
With
BENCHMARK(...)->Unit(kMillisecond)->Threads(12)->MeasureProcessCPUTime()->UseRealTime();
BENCHMARK(...)->Unit(kMillisecond)->Threads(12)->MeasureProcessCPUTime();
I get different bytes_per_second results:
... Time CPU Iterations UserCounters...
----------------------------------------------------
... 42.6 ms 509 ms 12 bytes_per_second=26.2487G/s
... 43.4 ms 520 ms 12 bytes_per_second=2.14995G/s
The first line is reasonable. IMHO the bytes_per_second rate in the second line needs to be multiplied by 12 (I guess, the number of threads).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels