diff options
Diffstat (limited to 'Userland/DevTools/Profiler/TimelineTrack.cpp')
-rw-r--r-- | Userland/DevTools/Profiler/TimelineTrack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/Profiler/TimelineTrack.cpp b/Userland/DevTools/Profiler/TimelineTrack.cpp index 5b29bd66b0..ae096f23b1 100644 --- a/Userland/DevTools/Profiler/TimelineTrack.cpp +++ b/Userland/DevTools/Profiler/TimelineTrack.cpp @@ -78,7 +78,7 @@ void TimelineTrack::paint_event(GUI::PaintEvent& event) } auto& histogram = event.in_kernel ? kernel_histogram : usermode_histogram; - histogram.insert(clamp_timestamp(event.timestamp), 1); + histogram.insert(clamp_timestamp(event.timestamp), 1 + event.lost_samples); } decltype(kernel_histogram.at(0)) max_value = 0; |