tree: 8995e4f512aa48c843f8a018d8e1a92d5f0603d9 [path history] [tgz]
  1. BUILD.gn
  2. OWNERS
  3. README.md
  4. benchmarks.cc
  5. benchmarks.h
  6. benchmarks_ntrace.cc
  7. handler.h
  8. main.cc
  9. runner.h
src/bringup/bin/trace-benchmark/README.md

Trace Benchmark

Measures how long it takes to perform certain time-sensitive operations related to tracing, such as the overhead of instrumentation when tracing is disabled.

Typical results (on real hardware -- not in QEMU) should show an instrumentation overhead of a few nanoseconds when tracing is disabled and a few tens to hundreds of nanoseconds when tracing is enabled depending on the complexity of the record being written.