Home
last modified time | relevance | path

Searched refs:TimeUnit (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/third-party/benchmark/bindings/python/google_benchmark/
H A Dbenchmark.cc47 using benchmark::TimeUnit; in PYBIND11_MODULE()
48 py::enum_<TimeUnit>(m, "TimeUnit") in PYBIND11_MODULE()
49 .value("kNanosecond", TimeUnit::kNanosecond) in PYBIND11_MODULE()
50 .value("kMicrosecond", TimeUnit::kMicrosecond) in PYBIND11_MODULE()
51 .value("kMillisecond", TimeUnit::kMillisecond) in PYBIND11_MODULE()
52 .value("kSecond", TimeUnit::kSecond) in PYBIND11_MODULE()
/llvm-project-15.0.7/third-party/benchmark/src/
H A Dbenchmark_api_internal.h30 TimeUnit time_unit() const { return time_unit_; } in time_unit()
55 TimeUnit time_unit_;
H A Dbenchmark_register.cc236 Benchmark* Benchmark::Unit(TimeUnit unit) { in Unit()
/llvm-project-15.0.7/third-party/benchmark/include/benchmark/
H A Dbenchmark.h511 enum TimeUnit { kNanosecond, kMicrosecond, kMillisecond, kSecond }; enum
918 Benchmark* Unit(TimeUnit unit);
1108 TimeUnit time_unit_;
1560 TimeUnit time_unit;
1721 inline const char* GetTimeUnitString(TimeUnit unit) { in GetTimeUnitString()
1735 inline double GetTimeUnitMultiplier(TimeUnit unit) { in GetTimeUnitMultiplier()
/llvm-project-15.0.7/third-party/benchmark/test/
H A Dreporter_output_test.cc959 ->Unit(benchmark::TimeUnit::kNanosecond)