Eric
1b263fe6d9
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
2016-05-27 16:45:25 -06:00
Eric
5686bf1b38
Change reporters to use a specified output and error stream. Add tests for output. ( #219 )
...
* Add test for reporter output.
* setup err_stream tests
* Fix warnings in tests
* whitespace
* Fix build errors caused by super pedantic compilers
* Pass streams by pointer not non-const reference
2016-05-27 12:34:37 -07:00
Dominic Hamon
d6bc7e1581
Merge branch 'update_complexity' of git://github.com/ismaelJimenez/benchmark into ismaelJimenez-update_complexity
2016-05-26 14:01:28 -07:00
Ismael
ac3ec2ded3
moved complexity.h into src and BigO enum into benchmark_api
2016-05-26 21:16:40 +02:00
Ismael
d82f0c3131
added includes
2016-05-26 20:57:27 +02:00
Ismael
2f61f8aee0
refactor leastsq into complexity
2016-05-25 22:57:52 +02:00
Eric Fiselier
bdeb38718e
merge
2016-05-24 15:01:07 -06:00
Dominic Hamon
2440b752fd
Formatting updates
2016-05-24 13:26:32 -07:00
Ismael
36a9ae197f
added SetComplexityN
2016-05-24 19:56:49 +02:00
Eric Fiselier
43017f8b15
Add SkipWithError(...) function.
2016-05-23 19:24:56 -06:00
Ismael
0c23d2852f
extracted BigO and GetBigO in own file
2016-05-23 22:31:40 +02:00
Ismael
43ef17441c
refactor names
2016-05-23 20:50:35 +02:00
Ismael
ac05c04533
refactor MinimalLEastSq
2016-05-23 20:12:54 +02:00
Ismael
5f9823bd92
fixed non-const reference arguments
2016-05-23 18:51:29 +02:00
Ismael
290bd60289
Refactor for pull request
2016-05-21 11:51:42 +02:00
Ismael
2e5c397b48
implemented complexity reporting
2016-05-21 08:55:43 +02:00
Ismael
872ff01a49
addaptation of minimal_leastsq library
2016-05-20 16:49:39 +02:00
Ismael
b73dc22944
implemented Complexity for O(1)
2016-05-18 21:25:00 +02:00
Kai Wolf
0b4111c3b3
Refactor GetTimeUnitAndMultiplier and add example
2016-03-28 21:32:11 +02:00
Jean-Louis Leroy
2cf277b6f6
Iterations declared as size_t but printf'ed as a long long. Make it a long long.
2015-09-03 15:11:10 -04:00
Dominic Hamon
71c41cde57
Introduce CSV reporter
2015-03-27 14:07:23 -07:00
Eric Fiselier
b07fee6b64
address review comments
2015-03-26 18:32:31 -04:00
Eric Fiselier
d3e0671a87
finish selection of clock with debug information
2015-03-26 17:52:28 -04:00
Eric Fiselier
a3308c6d86
Introduce use of std::chrono and remove Walltime printing
2015-03-26 14:26:07 -04:00
Eric Fiselier
6429348e0d
address review comments and fix array type declaration
2015-03-18 00:23:43 -04:00
Eric Fiselier
ffb67dcabf
address review comments
2015-03-17 18:42:41 -04:00
Eric Fiselier
f65da9d581
add json reporter
2015-03-17 18:18:06 -04:00
Eric Fiselier
20f1c0e2a8
Apply reporter interface changes. Make report methods non-const and add a Finalize method.
2015-03-17 16:16:36 -04:00
Eric Fiselier
e45252e6f5
move ConsoleReporter out of internal namespace
2015-03-17 14:15:16 -04:00
Eric Fiselier
4242f2f1d7
move reporter internals in both headers and source
2015-03-17 13:46:16 -04:00