aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bindings/python/google_benchmark/example.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bindings/python/google_benchmark/example.py b/bindings/python/google_benchmark/example.py
index b5b2f88..b92245e 100644
--- a/bindings/python/google_benchmark/example.py
+++ b/bindings/python/google_benchmark/example.py
@@ -61,6 +61,7 @@ def skipped(state):
@benchmark.register
+@benchmark.option.use_manual_time()
def manual_timing(state):
while state:
# Manually count Python CPU time