tree: 18fa86eacb1af1b7ecb00ab92fb2c4cc29bdf79e [path history] [tgz]
  1. benchmarks.cpp
  2. benchmarks.h
  3. benchmarks_ntrace.cpp
  4. BUILD.gn
  5. handler.h
  6. main.cpp
  7. OWNERS
  8. README.md
  9. runner.h
zircon/system/uapp/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.