mirror of https://github.com/google/benchmark.git
376ebc2635
* 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 |
||
---|---|---|
.. | ||
AssemblyTests.cmake | ||
BUILD | ||
CMakeLists.txt | ||
args_product_test.cc | ||
basic_test.cc | ||
benchmark_gtest.cc | ||
benchmark_name_gtest.cc | ||
benchmark_test.cc | ||
clobber_memory_assembly_test.cc | ||
commandlineflags_gtest.cc | ||
complexity_test.cc | ||
cxx03_test.cc | ||
diagnostics_test.cc | ||
display_aggregates_only_test.cc | ||
donotoptimize_assembly_test.cc | ||
donotoptimize_test.cc | ||
filter_test.cc | ||
fixture_test.cc | ||
internal_threading_test.cc | ||
link_main_test.cc | ||
map_test.cc | ||
memory_manager_test.cc | ||
multiple_ranges_test.cc | ||
options_test.cc | ||
output_test.h | ||
output_test_helper.cc | ||
perf_counters_gtest.cc | ||
perf_counters_test.cc | ||
register_benchmark_test.cc | ||
report_aggregates_only_test.cc | ||
reporter_output_test.cc | ||
skip_with_error_test.cc | ||
state_assembly_test.cc | ||
statistics_gtest.cc | ||
string_util_gtest.cc | ||
templated_fixture_test.cc | ||
user_counters_tabular_test.cc | ||
user_counters_test.cc | ||
user_counters_thousands_test.cc |