mirror of
https://review.haiku-os.org/haiku
synced 2025-01-19 04:58:51 +01:00
6baf6183d0
Instead of taking the sample inside the timer callback or the flush callback depending, always take it in the timer callback, for consistency's sake. This should always work because we try to flush the buffer when it's only 70% full; in testing I can't recall seeing any dropped ticks. Also add a flush call in the post_syscall hook, in case we hit the flush threshhold while profiling in the kernel and couldn't trigger the flush then. Seems to significantly reduce "missed" ticks overall, but there are still wildly inconsistent results and lots of missing time. Change-Id: I43a5e9c050a50309329da39f8a2386c3e2b3c0dd Reviewed-on: https://review.haiku-os.org/c/haiku/+/7851 Reviewed-by: waddlesplash <waddlesplash@gmail.com> |
||
---|---|---|
.. | ||
build | ||
compatibility | ||
config | ||
cpp | ||
glibc | ||
libs | ||
os | ||
posix | ||
private | ||
tools |