Refactor benchmark.cc into benchmark_register.cc and benchmark.cc (#287)
* Refactor benchmark.cc into benchmark_register.cc and benchmark_run.cc
The benchmark.cc file is getting really big and it contains a bunch of
unrelated components. This patch separates the files into two separate
parts. The "runtime" parts and the "registration" parts.
This patch also removes the PIMPL used by Benchmark. Previously we couldn't
have STL types in the interface but now we can. Therefore there is no reason
to keep BenchmarkImp.
* add missing include
* rework windows timers again
* Guard timespec on older Windows versions
* Remove old thread safety annotation workarounds
Showing
This diff is collapsed.
Click to expand it.
src/benchmark_api_internal.h
0 → 100644
src/benchmark_register.cc
0 → 100644
This diff is collapsed.
Click to expand it.
src/re_posix.cc
deleted
100644 → 0
src/re_std.cc
deleted
100644 → 0
Please
register
or
sign in
to comment