* 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 |
|---|---|---|
| .. | ||
| Modules | Loading commit data... | |
| AddCXXCompilerFlag.cmake | Loading commit data... | |
| CXXFeatureCheck.cmake | Loading commit data... | |
| Config.cmake.in | Loading commit data... | |
| GetGitVersion.cmake | Loading commit data... | |
| GoogleTest.cmake | Loading commit data... | |
| GoogleTest.cmake.in | Loading commit data... | |
| benchmark.pc.in | Loading commit data... | |
| gnu_posix_regex.cpp | Loading commit data... | |
| llvm-toolchain.cmake | Loading commit data... | |
| posix_regex.cpp | Loading commit data... | |
| split_list.cmake | Loading commit data... | |
| std_regex.cpp | Loading commit data... | |
| steady_clock.cpp | Loading commit data... | |
| thread_safety_attributes.cpp | Loading commit data... |