* Support optional, user-directed collection of performance counters The patch allows an engineer wishing to drill into the root causes of a regression, for example. Currently, only single threaded runs are supported. The feature is a build-time opt in, and then a runtime opt in. The engineer may run the benchmark executable, passing a list of performance counter names (using libpfm's naming scheme) at the command line. The counter values will then be collected and reported back as UserCounters. This is different from #240 in that it is a benchmark user opt-in, and the counter collection is transparent to the benchmark. Currently, this is only supported on platforms where libpfm is supported. libpfm: http://perfmon2.sourceforge.net/ * 'Use' values param in Snapshot when BENCHMARK_OS_WINDOWS This is to avoid unused parameter warning-as-error * Added missing include for <vector> in perf_counters.cc * Moved doc to docs * Added license blurbs
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| CMakeLists.txt | Loading commit data... | |
| arraysize.h | Loading commit data... | |
| benchmark.cc | Loading commit data... | |
| benchmark_api_internal.cc | Loading commit data... | |
| benchmark_api_internal.h | Loading commit data... | |
| benchmark_main.cc | Loading commit data... | |
| benchmark_name.cc | Loading commit data... | |
| benchmark_register.cc | Loading commit data... | |
| benchmark_register.h | Loading commit data... | |
| benchmark_runner.cc | Loading commit data... | |
| benchmark_runner.h | Loading commit data... | |
| check.h | Loading commit data... | |
| colorprint.cc | Loading commit data... | |
| colorprint.h | Loading commit data... | |
| commandlineflags.cc | Loading commit data... | |
| commandlineflags.h | Loading commit data... | |
| complexity.cc | Loading commit data... | |
| complexity.h | Loading commit data... | |
| console_reporter.cc | Loading commit data... | |
| counter.cc | Loading commit data... | |
| counter.h | Loading commit data... | |
| csv_reporter.cc | Loading commit data... | |
| cycleclock.h | Loading commit data... | |
| internal_macros.h | Loading commit data... | |
| json_reporter.cc | Loading commit data... | |
| log.h | Loading commit data... | |
| mutex.h | Loading commit data... | |
| perf_counters.cc | Loading commit data... | |
| perf_counters.h | Loading commit data... | |
| re.h | Loading commit data... | |
| reporter.cc | Loading commit data... | |
| sleep.cc | Loading commit data... | |
| sleep.h | Loading commit data... | |
| statistics.cc | Loading commit data... | |
| statistics.h | Loading commit data... | |
| string_util.cc | Loading commit data... | |
| string_util.h | Loading commit data... | |
| sysinfo.cc | Loading commit data... | |
| thread_manager.h | Loading commit data... | |
| thread_timer.h | Loading commit data... | |
| timers.cc | Loading commit data... | |
| timers.h | Loading commit data... |