aboutsummaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2021-01-05 21:32:20 -0800
committerHaibo Huang <hhb@google.com>2021-01-05 21:32:20 -0800
commit531a954c39b1d1921adcd462fe6d6ccf1f371d84 (patch)
tree513469510165f91c179052d3f349b964d1f299dd /bindings
parented5d9467b7589c8b2a645fe8d6d6b4f499f3e2c1 (diff)
parent8df87f6c879cbcabd17c5cfcec7b89687df36953 (diff)
downloadgoogle-benchmark-531a954c39b1d1921adcd462fe6d6ccf1f371d84.tar.gz
Upgrade google-benchmark to 8df87f6c879cbcabd17c5cfcec7b89687df36953
Test: make Change-Id: I1c21ae887a4dd5c9500944ff289234ef3411358c
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/google_benchmark/__init__.py2
-rw-r--r--bindings/python/google_benchmark/benchmark.cc1
2 files changed, 3 insertions, 0 deletions
diff --git a/bindings/python/google_benchmark/__init__.py b/bindings/python/google_benchmark/__init__.py
index 787c423..f31285e 100644
--- a/bindings/python/google_benchmark/__init__.py
+++ b/bindings/python/google_benchmark/__init__.py
@@ -34,6 +34,7 @@ from google_benchmark._benchmark import (
kNanosecond,
kMicrosecond,
kMillisecond,
+ kSecond,
oNone,
o1,
oN,
@@ -53,6 +54,7 @@ __all__ = [
"kNanosecond",
"kMicrosecond",
"kMillisecond",
+ "kSecond",
"oNone",
"o1",
"oN",
diff --git a/bindings/python/google_benchmark/benchmark.cc b/bindings/python/google_benchmark/benchmark.cc
index a733339..d80816e 100644
--- a/bindings/python/google_benchmark/benchmark.cc
+++ b/bindings/python/google_benchmark/benchmark.cc
@@ -49,6 +49,7 @@ PYBIND11_MODULE(_benchmark, m) {
.value("kNanosecond", TimeUnit::kNanosecond)
.value("kMicrosecond", TimeUnit::kMicrosecond)
.value("kMillisecond", TimeUnit::kMillisecond)
+ .value("kSecond", TimeUnit::kSecond)
.export_values();
using benchmark::BigO;