Matt Clarkson
b35b581e76
Ignore windows shared libraries
2015-03-31 10:13:11 +01:00
Matt Clarkson
07de09c94c
Ignore python compiled files
2015-03-31 10:13:10 +01:00
Matt Clarkson
b2a43b491c
NT definition of MyCPUUsage and ChildrenCPUUsage
...
The children CPU usage doesn't seem to have a equivalent on NT systems
so it just returns zero.
2015-03-31 10:13:10 +01:00
Matt Clarkson
05eb1f2545
Use int64_t
rather than int64
...
For cross platform and cross compiler portability we use the
standard integer type for a 64-bit integer. MinGW on Windows doesn't
have the definition for `int64`.
2015-03-31 10:13:09 +01:00
Matt Clarkson
65a5ebd638
Use the WINAPI Sleep
function
2015-03-31 10:13:09 +01:00
Matt Clarkson
6bc54ba028
Use CMake to link Shlwapi on Windows
...
We use the SHGetValueA on Windows to retrieve the MHz of the processor
but this requires the shlwapi library. Previous to this patch the
library was linked with a MSVC specific pragma but there is no
guarantee that on Windows we will be using MSVC. Therefore, it is much
compile agnostic to use the standard CMAKE library linking mechanism
to provide the definition of SHGetValueA
2015-03-31 10:13:08 +01:00
Matt Clarkson
dd61391c5d
Only include the correct platform headers
2015-03-31 10:13:08 +01:00
Matt Clarkson
6880244eea
Added windows executables to the ignore list
2015-03-31 10:13:07 +01:00
Eric Fiselier
805145847b
add workaround to DoNotOptimize(...) for clang inline assembly bug.
2015-03-30 22:14:08 -04:00
Dominic Hamon
b5dd1506d8
Merge pull request #107 from google/csv
...
Introduce CSV reporter
2015-03-30 14:45:10 -07:00
Dominic Hamon
2924aaa747
Deal with names with embedded quotes
2015-03-30 10:41:22 -07:00
Dominic Hamon
b6e4f67d75
Add csv to help output
2015-03-27 14:08:46 -07:00
Dominic Hamon
680a399a93
Add double-quotes where necessary
2015-03-27 14:07:23 -07:00
Dominic Hamon
71c41cde57
Introduce CSV reporter
2015-03-27 14:07:23 -07:00
Eric
82fd557288
Merge pull request #105 from google/new-benchmark-interface
...
Change the available Benchmark options
2015-03-27 17:03:52 -04:00
Eric Fiselier
9d47552020
merge new changes in basic_test.cc
2015-03-27 16:37:53 -04:00
Eric Fiselier
9ed1082c33
Merge branch 'master' into new-benchmark-interface
2015-03-27 16:36:40 -04:00
Eric Fiselier
e428b9eec3
Add 'benchmark::DoNotOptimize(...)' to help users prevent optimizations
2015-03-27 16:35:46 -04:00
Eric Fiselier
4f9ce87e8c
Merge branch 'master' into new-benchmark-interface
2015-03-27 16:26:36 -04:00
Eric
0a0bb8feb1
Merge pull request #102 from google/fix-macros
...
Fix and improve BENCHMARK macros.
2015-03-27 15:55:01 -04:00
Eric
2a7b7e4b99
Merge pull request #104 from google/fix-negative-times
...
Fix #96 : Prevent times from being negative.
2015-03-27 14:31:29 -04:00
Eric Fiselier
c5f238b18c
Fix column width calculation and remove duplicate test
2015-03-27 12:28:22 -04:00
Eric Fiselier
cfa3e181ab
Make DateTimeString part of the internal implementation
2015-03-27 12:13:02 -04:00
Eric Fiselier
4bf6ceb50d
Change the available benchmark options
2015-03-26 23:37:26 -04:00
Eric Fiselier
b07fee6b64
address review comments
2015-03-26 18:32:31 -04:00
Eric Fiselier
1b9e55c281
Remove walltime implementation tests and expose less internals
2015-03-26 17:56:27 -04:00
Eric Fiselier
d3e0671a87
finish selection of clock with debug information
2015-03-26 17:52:28 -04:00
Eric Fiselier
48c4c9cf50
Revert "prevent unneeded calculation of Slow()"
...
The calculation was actually inside the loop for a reason.
This reverts commit 47442b9054
.
2015-03-26 16:22:29 -04:00
Eric Fiselier
47442b9054
prevent unneeded calculation of Slow()
2015-03-26 16:01:29 -04:00
Eric Fiselier
21207a4df5
improve walltime test
2015-03-26 15:25:08 -04:00
Eric Fiselier
c0755c4226
actually add new test
2015-03-26 14:57:03 -04:00
Eric Fiselier
725f1f066d
add walltime benchmark and fix unused variable.
2015-03-26 14:56:52 -04:00
Eric Fiselier
be993acbb3
remove unneeded test repetitions
2015-03-26 14:33:48 -04:00
Eric Fiselier
d0df7ef2de
cleanup whitespace and includes
2015-03-26 14:30:16 -04:00
Eric Fiselier
a3308c6d86
Introduce use of std::chrono and remove Walltime printing
2015-03-26 14:26:07 -04:00
Eric Fiselier
75712367c1
update names
2015-03-18 22:49:09 -04:00
Eric Fiselier
e96f068a1d
rename BENCHMARK_PRIVATE_NAME to BENCHMARK_PRIVATE_CONCAT
2015-03-18 19:19:17 -04:00
Eric Fiselier
3bf0b251a3
remove whitespace
2015-03-18 18:35:36 -04:00
Eric Fiselier
035a0ba2b3
fix macro names and use __COUNTER__
2015-03-18 18:34:30 -04:00
Eric
8b0b73f06c
Merge pull request #101 from google/variadic_macros
...
Add variadic macro for BENCHMARK_TEMPLATE in c++11 and beyond.
2015-03-18 18:20:23 -04:00
Eric Fiselier
482c19d92e
Handle creation of C++03 flags differently
2015-03-18 17:08:15 -04:00
Eric Fiselier
d40cb97713
Don't treat CMAKE_CXX_FLAGS as a list
2015-03-18 17:05:53 -04:00
Eric Fiselier
daa8a67aa5
add C++03 test and update README
2015-03-18 16:34:43 -04:00
Eric Fiselier
38066e8bdc
Add variadic macro for BENCHMARK_TEMPLATE in c++11 and beyond.
2015-03-18 14:50:50 -04:00
Eric Fiselier
01bba479ac
Remove use of reserved names in benchmark macros
2015-03-18 14:50:16 -04:00
Eric Fiselier
a6a90ec6b8
Revert "Add BENCHMARK_TEMPLATE1 macro"
...
I didn't mean to commit this to master.
This reverts commit b7d03ac4f5
.
2015-03-18 14:43:08 -04:00
Eric Fiselier
b7d03ac4f5
Add BENCHMARK_TEMPLATE1 macro
2015-03-18 14:42:35 -04:00
Eric Fiselier
92fc9b99b2
Add newline after every benchmark to improve readability of the json output.
2015-03-18 12:09:18 -04:00
Eric
ec0c725a33
Merge pull request #100 from google/json_reporter
...
Add JSON Reporter
2015-03-18 10:21:25 -04:00
Eric Fiselier
6429348e0d
address review comments and fix array type declaration
2015-03-18 00:23:43 -04:00