* 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 |
|---|---|---|
| .. | ||
| AssemblyTests.cmake | Loading commit data... | |
| BUILD | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| args_product_test.cc | Loading commit data... | |
| basic_test.cc | Loading commit data... | |
| benchmark_gtest.cc | Loading commit data... | |
| benchmark_name_gtest.cc | Loading commit data... | |
| benchmark_test.cc | Loading commit data... | |
| clobber_memory_assembly_test.cc | Loading commit data... | |
| commandlineflags_gtest.cc | Loading commit data... | |
| complexity_test.cc | Loading commit data... | |
| cxx03_test.cc | Loading commit data... | |
| diagnostics_test.cc | Loading commit data... | |
| display_aggregates_only_test.cc | Loading commit data... | |
| donotoptimize_assembly_test.cc | Loading commit data... | |
| donotoptimize_test.cc | Loading commit data... | |
| filter_test.cc | Loading commit data... | |
| fixture_test.cc | Loading commit data... | |
| internal_threading_test.cc | Loading commit data... | |
| link_main_test.cc | Loading commit data... | |
| map_test.cc | Loading commit data... | |
| memory_manager_test.cc | Loading commit data... | |
| multiple_ranges_test.cc | Loading commit data... | |
| options_test.cc | Loading commit data... | |
| output_test.h | Loading commit data... | |
| output_test_helper.cc | Loading commit data... | |
| perf_counters_gtest.cc | Loading commit data... | |
| perf_counters_test.cc | Loading commit data... | |
| register_benchmark_test.cc | Loading commit data... | |
| report_aggregates_only_test.cc | Loading commit data... | |
| reporter_output_test.cc | Loading commit data... | |
| skip_with_error_test.cc | Loading commit data... | |
| state_assembly_test.cc | Loading commit data... | |
| statistics_gtest.cc | Loading commit data... | |
| string_util_gtest.cc | Loading commit data... | |
| templated_fixture_test.cc | Loading commit data... | |
| user_counters_tabular_test.cc | Loading commit data... | |
| user_counters_test.cc | Loading commit data... | |
| user_counters_thousands_test.cc | Loading commit data... |