lind-perf: add benchmarks for threei.#847
lind-perf: add benchmarks for threei.#847stupendoussuperpowers wants to merge 8 commits intolind-perf-initfrom
lind-perf: add benchmarks for threei.#847Conversation
…d-wasm into lind-perf-threei
…d-wasm into lind-perf-threei
…d-wasm into lind-perf-threei
…to lind-perf-threei
End-to-End Test ReportTest PreviewUnified Test Report grate harness
Cases
wasm harnessTest ReportDeterministic TestsSummary
Test Results by Category
Fail TestsSummary
Test Results by Category
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| arg6: u64, | ||
| arg6_cageid: u64, | ||
| ) -> i32 { | ||
| // Only enable timers for syscalls that are explicitly benchmarking related (2000-3000) |
There was a problem hiding this comment.
does this need to be cfg'd?
There was a problem hiding this comment.
same for everything in a 3i file
There was a problem hiding this comment.
All cfg's are handled within lind-perf, which has no-op shims when the feature is not enabled. This allows us to not have to use cfg's here.
When building without lind_perf, the get_timer!() just returns None, and will not cause overheads.
| arg6: u64, | ||
| arg6_cageid: u64, | ||
| ) -> Option<i32> { | ||
| let _timer = lind_perf::get_timer!(perf::CALL_GRATE_FUNC); |
There was a problem hiding this comment.
why are others range gated but not this?
There was a problem hiding this comment.
_call_grate_func doesn't have access to the syscall_num that was called so we can't gate it.
besides, the rationale for gating make_syscall was to ensure we dont see measurement from other syscalls. _call_grate_func is only called for interposed syscalls, and we can easily have a setup where only the syscall being benchmarked is interposed.
End-to-End Test ReportTest PreviewUnified Test Report grate harness
Cases
wasm harnessTest ReportDeterministic TestsSummary
Test Results by Category
Fail TestsSummary
Test Results by Category
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
lind-perf: threei [Based on #846]perf.rsfile for threei, and include its counters in lind-boot/perf_grate_callback_trampolineandtyped_func.call()