tree: 07972600802be36fa6e830352f084138e76c2375 [path history] [tgz]
  1. benchmarks.cc
  2. benchmarks.h
  3. benchmarks_ntrace.cc
  4. BUILD.gn
  5. handler.h
  6. main.cc
  7. OWNERS
  8. README.md
  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.