[xla:cpu] Correctly measure CPU time in slinky thread pool benchmark

PiperOrigin-RevId: 824253351
This commit is contained in:
Eugene Zhulenev 2025-10-26 14:16:28 -07:00 committed by TensorFlower Gardener
parent 9859a3b040
commit 72d04ced58

View File

@ -136,6 +136,7 @@ static void BM_ParallelFor(benchmark::State& state) {
}
BENCHMARK(BM_ParallelFor)
->MeasureProcessCPUTime()
->ArgPair(8, 1)
->ArgPair(8, 2)
->ArgPair(8, 4)