• Home
  • Raw
  • Download

Lines Matching refs:DoNotOptimize

33     benchmark::DoNotOptimize(absl::Nanoseconds(i));  in BM_Duration_Factory_Nanoseconds()
42 benchmark::DoNotOptimize(absl::Microseconds(i)); in BM_Duration_Factory_Microseconds()
51 benchmark::DoNotOptimize(absl::Milliseconds(i)); in BM_Duration_Factory_Milliseconds()
60 benchmark::DoNotOptimize(absl::Seconds(i)); in BM_Duration_Factory_Seconds()
69 benchmark::DoNotOptimize(absl::Minutes(i)); in BM_Duration_Factory_Minutes()
78 benchmark::DoNotOptimize(absl::Hours(i)); in BM_Duration_Factory_Hours()
87 benchmark::DoNotOptimize(absl::Nanoseconds(d)); in BM_Duration_Factory_DoubleNanoseconds()
96 benchmark::DoNotOptimize(absl::Microseconds(d)); in BM_Duration_Factory_DoubleMicroseconds()
105 benchmark::DoNotOptimize(absl::Milliseconds(d)); in BM_Duration_Factory_DoubleMilliseconds()
114 benchmark::DoNotOptimize(absl::Seconds(d)); in BM_Duration_Factory_DoubleSeconds()
123 benchmark::DoNotOptimize(absl::Minutes(d)); in BM_Duration_Factory_DoubleMinutes()
132 benchmark::DoNotOptimize(absl::Hours(d)); in BM_Duration_Factory_DoubleHours()
146 benchmark::DoNotOptimize(d += step); in BM_Duration_Addition()
155 benchmark::DoNotOptimize(d -= step); in BM_Duration_Subtraction()
165 benchmark::DoNotOptimize(s += d * (i + 1)); in BM_Duration_Multiplication_Fixed()
176 benchmark::DoNotOptimize(s += d * (i + 1.0)); in BM_Duration_Multiplication_Double()
186 benchmark::DoNotOptimize(d /= i + 1); in BM_Duration_Division_Fixed()
196 benchmark::DoNotOptimize(d /= i + 1.0); in BM_Duration_Division_Double()
206 benchmark::DoNotOptimize( in BM_Duration_FDivDuration_Nanoseconds()
218 benchmark::DoNotOptimize(a += in BM_Duration_IDivDuration_Nanoseconds()
231 benchmark::DoNotOptimize(a += absl::IDivDuration(absl::Microseconds(i), in BM_Duration_IDivDuration_Microseconds()
244 benchmark::DoNotOptimize(a += absl::IDivDuration(absl::Milliseconds(i), in BM_Duration_IDivDuration_Milliseconds()
257 benchmark::DoNotOptimize( in BM_Duration_IDivDuration_Seconds()
269 benchmark::DoNotOptimize( in BM_Duration_IDivDuration_Minutes()
281 benchmark::DoNotOptimize( in BM_Duration_IDivDuration_Hours()
291 benchmark::DoNotOptimize(absl::ToInt64Nanoseconds(d)); in BM_Duration_ToInt64Nanoseconds()
299 benchmark::DoNotOptimize(absl::ToInt64Microseconds(d)); in BM_Duration_ToInt64Microseconds()
307 benchmark::DoNotOptimize(absl::ToInt64Milliseconds(d)); in BM_Duration_ToInt64Milliseconds()
315 benchmark::DoNotOptimize(absl::ToInt64Seconds(d)); in BM_Duration_ToInt64Seconds()
323 benchmark::DoNotOptimize(absl::ToInt64Minutes(d)); in BM_Duration_ToInt64Minutes()
331 benchmark::DoNotOptimize(absl::ToInt64Hours(d)); in BM_Duration_ToInt64Hours()
343 benchmark::DoNotOptimize(absl::ToTimespec(d)); in BM_Duration_ToTimespec_AbslTime()
357 benchmark::DoNotOptimize(DoubleToTimespec(1.0)); in BM_Duration_ToTimespec_Double()
371 benchmark::DoNotOptimize(absl::DurationFromTimespec(ts)); in BM_Duration_FromTimespec_AbslTime()
389 benchmark::DoNotOptimize(TimespecToDouble(ts)); in BM_Duration_FromTimespec_Double()
413 benchmark::DoNotOptimize(absl::FormatDuration(d)); in BM_Duration_FormatDuration()
423 benchmark::DoNotOptimize(absl::ParseDuration(s, &d)); in BM_Duration_ParseDuration()