tree: 67585f2c1f21d4d731e58b8649166d6dc363873e [path history] [tgz]
  1. benchmarks.cpp
  2. benchmarks.h
  3. benchmarks_ntrace.cpp
  4. handler.h
  5. main.cpp
  6. README.md
  7. rules.mk
  8. runner.h
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.