Go to the source code of this file.
|
static | DEFINE_int (maxCalibrationAttempts, 3, "Try up to this many times to guess loops for a benchmark, or skip the " "benchmark.") |
|
static | DEFINE_double (overheadGoal, 0.0001, "Loop until timer overhead is at most this fraction of our measurements.") |
|
static | DEFINE_int (overheadLoops, 100000, "Loops to estimate timer overhead.") |
|
SkString | humanize (double ms) |
|
◆ DEFINE_double()
static DEFINE_double |
( |
overheadGoal |
, |
|
|
0. |
0001, |
|
|
"Loop until timer overhead is at most this fraction of our measurements." |
|
|
) |
| |
|
static |
◆ DEFINE_int() [1/2]
static DEFINE_int |
( |
maxCalibrationAttempts |
, |
|
|
3 |
, |
|
|
"Try up to this many times to guess loops for a |
benchmark, |
|
|
or skip the " "benchmark." |
|
|
) |
| |
|
static |
◆ DEFINE_int() [2/2]
static DEFINE_int |
( |
overheadLoops |
, |
|
|
100000 |
, |
|
|
"Loops to estimate timer overhead." |
|
|
) |
| |
|
static |
◆ humanize()
Definition at line 446 of file BazelBenchmarkTestRunner.cpp.
446 {
447 if (FLAGS_verbose)
return SkStringPrintf(
"%" PRIu64, (uint64_t)(ms * 1e6));
449}
SK_API SkString SkStringPrintf(const char *format,...) SK_PRINTF_LIKE(1
Creates a new string and writes into it using a printf()-style format.
SkString HumanizeMs(double ms)