tree: 6c9bc787ee1abe7b8c7c3b5f66933fa19aab4921 [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.