tree: 76b390672722664f9e776777e5054f932f6f3b92 [path history] [tgz]
  1. benchmarks.cpp
  2. benchmarks.h
  3. benchmarks_ntrace.cpp
  4. main.cpp
  5. README.md
  6. rules.mk
system/utest/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.