Skip to content

Commit 37c434e

Browse files
authored
Merge branch 'main' into perf/refactor-string-util
2 parents eb44261 + 6daf2df commit 37c434e

84 files changed

Lines changed: 1957 additions & 2185 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

BUILD.bazel

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,18 @@ cc_library(
4949
),
5050
hdrs = [
5151
"include/benchmark/benchmark.h",
52+
"include/benchmark/benchmark_api.h",
53+
"include/benchmark/counter.h",
5254
"include/benchmark/export.h",
55+
"include/benchmark/macros.h",
56+
"include/benchmark/managers.h",
57+
"include/benchmark/registration.h",
58+
"include/benchmark/reporter.h",
59+
"include/benchmark/state.h",
60+
"include/benchmark/statistics.h",
61+
"include/benchmark/sysinfo.h",
62+
"include/benchmark/types.h",
63+
"include/benchmark/utils.h",
5364
],
5465
copts = select({
5566
":windows": MSVC_COPTS,
@@ -89,7 +100,18 @@ cc_library(
89100
srcs = ["src/benchmark_main.cc"],
90101
hdrs = [
91102
"include/benchmark/benchmark.h",
103+
"include/benchmark/benchmark_api.h",
104+
"include/benchmark/counter.h",
92105
"include/benchmark/export.h",
106+
"include/benchmark/macros.h",
107+
"include/benchmark/managers.h",
108+
"include/benchmark/registration.h",
109+
"include/benchmark/reporter.h",
110+
"include/benchmark/state.h",
111+
"include/benchmark/statistics.h",
112+
"include/benchmark/sysinfo.h",
113+
"include/benchmark/types.h",
114+
"include/benchmark/utils.h",
93115
],
94116
includes = ["include"],
95117
visibility = ["//visibility:public"],

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
A library to benchmark code snippets, similar to unit tests. Example:
1212

1313
```c++
14-
#include <benchmark/benchmark.h>
14+
#include <benchmark/registration.h>
15+
#include <benchmark/state.h>
1516

1617
static void BM_SomeFunction(benchmark::State& state) {
1718
// Perform setup here

0 commit comments

Comments
 (0)