Eric Fiselier
8fcfa81d51
Fix comment about linking threading
2015-04-01 11:40:22 -04:00
Eric Fiselier
8bb991d099
Remove BENCHMARK_ENABLE_SHARED and prefer BUILD_SHARED_LIBS
2015-04-01 11:34:38 -04:00
Dominic Hamon
9934396e1f
Add missing paranthesis and documentation
2015-04-01 10:51:37 -04:00
Dominic Hamon
738bd82b35
Merge pull request #113 from mattyclarkson/install-fix
...
Libraries are treated as runtime objects on Windows
2015-04-01 10:23:08 -04:00
Matt Clarkson
d676c5b375
Libraries are treated as runtime objects on Windows
...
When the library is created as a *.dll on Windows it is treated like a
runtime object so we must proivde the destination for the runtime
objects in our install command
2015-04-01 10:57:08 +01:00
Dominic Hamon
6674744639
Merge pull request #111 from google/buildtype_log
...
Clarify build type warning
2015-03-31 15:32:36 -04:00
Dominic Hamon
25e46848f9
Clarify build type warning
2015-03-31 14:43:38 -04:00
Eric
006d23ccca
Merge pull request #108 from google/list-tests
...
Add --benchmark_list_tests option and change filter to match generated name.
2015-03-31 14:16:58 -04:00
Eric Fiselier
ba1becca1a
Add braces for one line conditionals and loops
2015-03-31 13:28:41 -04:00
Dominic Hamon
65ed470c0f
Merge pull request #64 from mattyclarkson/nt
...
MinGW support
2015-03-31 09:49:56 -04:00
Matt Clarkson
36d7dc67c1
appveyor configuration file
...
This file provides scripting to build the benchmark library in the cloud
on the appveyor build system. It provides a matrix of configurations to
cover as many possibilities as it can. Eventually MSVC can be added to the
matrix to provide coverage of the Visual Studio solutions.
2015-03-31 11:24:41 +01:00
Matt Clarkson
60910b3de7
Added a script that can download MinGW
...
The python script provides a method to get the repository of mingw-builds
gcc compilers and download one of them. This is useful for providing a
matrix of compilations on appveyor.
The versions of compilers are seperated by multiple things:
- version
- threading model
- exception model
- revision
All four of those things need to be matched if using the libraries built
by MinGW. The script allows you to specify all of those variations. If
a variation isn't defined it picks the most common or latest settings.
For example, if the version isn't specified the latest will be selected
and if the exception model isn't defined then the zero exception model
(seh) will be selected if available.
2015-03-31 10:13:11 +01:00
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
e97a96f9e7
redo filter test
2015-03-31 00:05:02 -04:00
Eric Fiselier
12f1c5f471
add list test internals
2015-03-30 23:32:37 -04: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