benchmark/test
Roman Lebedev b123abdcf4 Add Iteration-related Counter::Flags. Fixes #618 (#621)
Inspired by these [two](a1ebe07bea) [bugs](0891555be5) in my code due to the lack of those i have found fixed in my code:
* `kIsIterationInvariant` - `* state.iterations()`
  The value is constant for every iteration, and needs to be **multiplied** by the iteration count.
* `kAvgIterations` - `/ state.iterations()`
  The is global over all the iterations, and needs to be **divided** by the iteration count.

They play nice with `kIsRate`:
* `kIsIterationInvariantRate`
* `kAvgIterationsRate`.

I'm not sure how  meaningful they are when combined with `kAvgThreads`.
I guess the `kIsThreadInvariant` can be added, too, for symmetry with `kAvgThreads`.
2018-06-27 15:45:30 +01:00
..
AssemblyTests.cmake split_list is not defined for assembly tests (#595) 2018-05-14 15:02:49 +01:00
basic_test.cc Return 0 from State::iterations() when not yet started. (#598) 2018-05-24 10:33:19 +01:00
benchmark_gtest.cc Allow AddRange to work with int64_t. (#548) 2018-04-03 23:12:47 +01:00
benchmark_test.cc Allow AddRange to work with int64_t. (#548) 2018-04-03 23:12:47 +01:00
BUILD Add benchmark_main target. (#601) 2018-05-25 11:18:58 +01:00
clobber_memory_assembly_test.cc Add tests to verify assembler output -- Fix DoNotOptimize. (#530) 2018-03-23 16:10:47 -06:00
CMakeLists.txt Fix compilation on Android with GNU STL (#596) 2018-06-05 11:36:26 +01:00
complexity_test.cc Fix compilation on Android with GNU STL (#596) 2018-06-05 11:36:26 +01:00
cxx03_test.cc Enforce using a semicolon after BENCHMARK_MAIN to remove compiler warnings (#495) 2017-12-03 18:45:07 -07:00
diagnostics_test.cc Refactor most usages of KeepRunning to use the perfered ranged-for. (#459) 2017-10-17 12:17:02 -06:00
donotoptimize_assembly_test.cc Add tests to verify assembler output -- Fix DoNotOptimize. (#530) 2018-03-23 16:10:47 -06:00
donotoptimize_test.cc Fix uninitialized warning (#560) 2018-03-25 20:05:31 +01:00
filter_test.cc Refactor most usages of KeepRunning to use the perfered ranged-for. (#459) 2017-10-17 12:17:02 -06:00
fixture_test.cc Enforce using a semicolon after BENCHMARK_MAIN to remove compiler warnings (#495) 2017-12-03 18:45:07 -07:00
link_main_test.cc Add benchmark_main target. (#601) 2018-05-25 11:18:58 +01:00
map_test.cc Allow AddRange to work with int64_t. (#548) 2018-04-03 23:12:47 +01:00
multiple_ranges_test.cc Allow AddRange to work with int64_t. (#548) 2018-04-03 23:12:47 +01:00
options_test.cc Enforce using a semicolon after BENCHMARK_MAIN to remove compiler warnings (#495) 2017-12-03 18:45:07 -07:00
output_test_helper.cc Add Iteration-related Counter::Flags. Fixes #618 (#621) 2018-06-27 15:45:30 +01:00
output_test.h Add Iteration-related Counter::Flags. Fixes #618 (#621) 2018-06-27 15:45:30 +01:00
register_benchmark_test.cc (clang-)format all the things (#610) 2018-06-01 11:14:19 +01:00
reporter_output_test.cc (clang-)format all the things (#610) 2018-06-01 11:14:19 +01:00
skip_with_error_test.cc (clang-)format all the things (#610) 2018-06-01 11:14:19 +01:00
state_assembly_test.cc (clang-)format all the things (#610) 2018-06-01 11:14:19 +01:00
statistics_gtest.cc (clang-)format all the things (#610) 2018-06-01 11:14:19 +01:00
string_util_gtest.cc Fix compilation on Android with GNU STL (#596) 2018-06-05 11:36:26 +01:00
templated_fixture_test.cc (clang-)format all the things (#610) 2018-06-01 11:14:19 +01:00
user_counters_tabular_test.cc (clang-)format all the things (#610) 2018-06-01 11:14:19 +01:00
user_counters_test.cc Add Iteration-related Counter::Flags. Fixes #618 (#621) 2018-06-27 15:45:30 +01:00