Expand description
Benchmarking framework for VeridianOS kernel
Provides performance measurement capabilities for kernel subsystems
Structs§
- Bencher
- Simple bencher for benchmark tests
- Benchmark
Harness - Benchmark harness for running multiple benchmarks
- Benchmark
Result - Result of a benchmark run
Traits§
- Benchmark
- Trait for benchmarkable operations
Functions§
- bench_
function - Run a benchmark function multiple times
- black_
box - Black box to prevent compiler optimizations
- cycles_
to_ ns - Convert cycles to nanoseconds (approximate) This assumes a 2GHz processor for now
- read_
timestamp - Architecture-specific timestamp counter.