History log of /external/google-benchmark/src/complexity.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f3b3dd99be97c330f9f4a7c0a2e5dbc3f767c558 05-Jun-2017 Yixuan Qiu <yixuan.qiu@cos.name> Use the sample version of standard deviation (#383)

* remove unnecessary weights

* use sample standard deviation

* add contributor information

* remove redundant code

* initialize variable to eliminate compiler warning
/external/google-benchmark/src/complexity.cc
7a74b74856bae690a0998c967c7807dd2272af82 21-Apr-2017 Dmitry Trifonov <slonegg@gmail.com> fix for android NDK r10e (#375)
/external/google-benchmark/src/complexity.cc
9a5072d1bf9187b32ce9a88842dffa31ef416442 04-Apr-2017 jpmag <dev@jpmag.me> Fixes #357: broken RMS values when time unit is set. (#362)
/external/google-benchmark/src/complexity.cc
a9a66c85bbfda1d744c267c5e5aa073ef3d1c1d5 02-Mar-2017 jpmag <dev@jpmag.me> Add user-defined counters. (#262)

* Added user counters, and move use of bytes_processed and items_processed to user counter logic.

Each counter is a string-value pair. The counters were
made available through the State class. Two helper virtual
methods were added to the Fixture class to allow convenient
initialization and termination of the counters: InitState()
and TerminateState(). The reporting of the counters is buggy
and is still a work in progress, to be completed in the next commits.

* fix bad removal of BenchmarkCounters code during the merge

* add myself to AUTHORS/CONTRIBUTORS

* fix printing to std::cout in csv_reporter

* bytes_per_second and items_per_second are now in the UserCounters class

* add user counters to json reporter

* moving bytes_per_second and items_per_second to their old state

* console reporter dealing ok with user counters.

* update unit tests for user counters

* CSVReporter now prints user counters too.

* cleanup user counters

* reverted changes to cmake files which should have gone into later commits

* fixture_test: fix gcc 4.6 compilation

* remove ctor with default argument

see https://github.com/google/benchmark/pull/262#discussion_r72298055

* use (auto-defined) BENCHMARK_HAS_CXX11 instead of BENCHMARK_INITLIST.

https://github.com/google/benchmark/pull/262#discussion_r72298310

* leanify counters API

Discussions:
API complexity: https://github.com/google/benchmark/pull/262#discussion_r72298731
remove std::string dependency (WIP): https://github.com/google/benchmark/pull/262#discussion_r72298142
spacing & alignment: https://github.com/google/benchmark/pull/262#discussion_r72298422

* remove std::string dependency on public API - changed counter name storage to char*

* Counter ctor: use overloads instead of default arguments

discussion:
https://github.com/google/benchmark/pull/262#discussion_r72298055

* Use raw pointers to remove dependency on std::vector from public API .

For more info, see discussion at https://github.com/google/benchmark/pull/262#discussion_r72319678 .

* Move counter implementation from benchmark.cc to counter.cc.

See discussion: https://github.com/google/benchmark/pull/262#discussion_r72298980 .

* Remove unused (commented-out) code.

* Moved thread counters to ThreadStats.

* Counters: fixed copy and move constructors.

* Counter: use an inplace buffer for small names.

* benchmark_test: move counters test out of CXX11 preprocessor conditional.

* Counter: fix VS2013 compilation error in char[] initialization.

* Fix typo.

* Expose counters from State.

See discussion: https://github.com/google/benchmark/pull/262#issuecomment-237156951

* Changed counters interface to map-like.

* Fix printing of user counters in ConsoleReporter.

* Applied clang-format to counter.cc and console_reporter.cc.

Command was `clang-format -style=Google -i counter.cc console_reporter.cc`
I also applied to all other files, but the changes were very
far-reaching so I rolled those back.

* Rename Counter::Flags_e to Counter::Flags

* Fix use of reserved names in Counter and BenchmarkCounters.

* Counter: Fix move ctor bug + change order of members.

* Fixture: remove tentative methods InitState() and TerminateState().

* Update fixture_test to the new Fixture interface.

* BenchmarkCounters: fixed a bug in the move ctor. Remove call to CHECK_LT().

CHECK_LT() was making the size_t lookup take ~double the time of a string lookup!

* BenchmarkCounters: add option to not print zero counters (defaults to false).

* Add test to compare counter storage and access with std::map.

* README: clarify cost of counter access modes.

* move counter access test to an own test.

* BenchmarkCounters: add move Insert()

* Counters access test: add accelerated lookup by name.

* Fix old range syntax.

* Fix missing include of cstdio

* Fix Visual Studio warning

* VS2013 and lower: fix use of snprintf()

* VS2013: fix use of char[] as a member of std::pair<>.

* change counter storage to std::map

* Remove skipZeroCounters logic

* Fix VS compilation error.

* Implemented request changes to PR #262.

* PR #262: More requested changes.

* README: cleanup counter text.

* PR #262: remove clang-format changes for preexisting code

* Complexity+Counters: fix counter flags which were being ignored.

* Document all Counter::Flag members

* fixed loss of counter values

* ConsoleReporter: remove tabular printing of user counters.

* ConsoleReporter: header printing should not be contingent on user counter names.

* Minor white space and alignment fixes.

* cxx03_test + counters: reuse the BM_empty() function.

* user counters: add note to README on how counters are gathered across threads
/external/google-benchmark/src/complexity.cc
5aa385562739652eddfd018d84e5d43c5c4777b8 21-Oct-2016 Marek Kurdej <marek@quasardb.net> Fix displayed time unit in mean and standard deviation.
/external/google-benchmark/src/complexity.cc
332f677b8bec401641a2743ab5d741c13cc6811d 07-Oct-2016 Dominic Hamon <dominichamon@users.noreply.github.com> Apply clang-format to all headers and source (#303)
/external/google-benchmark/src/complexity.cc
c04f703ab499058c62d6e3c4e05c11d3cb1e8781 08-Aug-2016 Eric Fiselier <eric@efcs.ca> Fix signed integer overflow UB in complexity computations.

Previously the FittingCurve functions for n^2 and n^3 did the calculation
using int types. This can overflow and cause UB. This patch changes the
calculations to use std::pow to prevent this.

Also re-enable VC 2013 appveyor bot since I *hope* this is what was causing
the failures.
/external/google-benchmark/src/complexity.cc
885ca41cf835313eca052ad112608631685ae6f2 27-Jun-2016 Ismael <ismaelJimenez@users.noreply.github.com> added check for SetComplexityN (#248)
/external/google-benchmark/src/complexity.cc
3fdd76bd14ff122c6881d7f15ec5cb2629241e7a 03-Jun-2016 Ismael <ismaelJimenez@users.noreply.github.com> fix issue 235 (#236)
/external/google-benchmark/src/complexity.cc
1a633969b31b2a486bdfae80576c53f40293281e 02-Jun-2016 Ismael <ijimenezm@hotmail.es> changed BigO logic order
/external/google-benchmark/src/complexity.cc
240ba4e64eb46e1f5acbafaadae34c2b2ca701eb 02-Jun-2016 Ismael <ijimenezm@hotmail.es> changed BigOFunc argument from size_t to int
/external/google-benchmark/src/complexity.cc
22cb9d9ce0ff12219f5ca6c4a28124d11730e66f 02-Jun-2016 Ismael <ijimenezm@hotmail.es> google formated
/external/google-benchmark/src/complexity.cc
109f528a4039c298e1f02ff4ce2fd32c552c5a38 02-Jun-2016 Ismael <ijimenezm@hotmail.es> removed functional library not needed
/external/google-benchmark/src/complexity.cc
11e304355492670709c60e6d39eb42fc01fd878a 02-Jun-2016 Ismael <ijimenezm@hotmail.es> checked format before pull request
/external/google-benchmark/src/complexity.cc
867f9145a0a45f8b993cec8b48309c19391acaa0 01-Jun-2016 Ismael <ijimenezm@hotmail.es> added lambdas to complexity report
/external/google-benchmark/src/complexity.cc
1b263fe6d906bb0854b84247f1b395bbacd3b88e 28-May-2016 Eric <eric@efcs.ca> Cleanup reporters (#226)

* Move ComputeStats call out of the reporters

* Cleanup adjusted time calculations in reporters

* Move ComputeBigO call out of reporters

* Remove ReportComplexity interface using ReportRuns instead

* Factor out reporting of basic context information

* Attempt to fix GCC 4.6 build errors

* Move ComputeStats to complexity.cc
/external/google-benchmark/src/complexity.cc
c1c7d33279b463088550986fe6f311a3ad2faa2e 26-May-2016 Ismael <ijimenezm@hotmail.es> added benchmar_apit to complexity.cc
/external/google-benchmark/src/complexity.cc
ac3ec2ded37e4f9e4083f8b65644f7c4b60336d7 26-May-2016 Ismael <ijimenezm@hotmail.es> moved complexity.h into src and BigO enum into benchmark_api
/external/google-benchmark/src/complexity.cc
37ab858e4b245a49805b01358655fab069474a7c 26-May-2016 Ismael <ijimenezm@hotmail.es> initialized doubles to 0.0
/external/google-benchmark/src/complexity.cc
171588561112744263caa5847847e76e9bbde562 25-May-2016 Ismael <ijimenezm@hotmail.es> fixed typos
/external/google-benchmark/src/complexity.cc
340fe557e2995addcb2af24dfdc7d86801487330 25-May-2016 Ismael <ijimenezm@hotmail.es> indent
/external/google-benchmark/src/complexity.cc
1ee11056c1f1117142af36dd3ac4df2c2e6ce1bb 25-May-2016 Ismael <ijimenezm@hotmail.es> move include from .h into .cc
/external/google-benchmark/src/complexity.cc
2f61f8aee0bc8b09429fce8b7d2718f805ed18ac 25-May-2016 Ismael <ijimenezm@hotmail.es> refactor leastsq into complexity
/external/google-benchmark/src/complexity.cc