Can't see why I chose to discard recent samples a decade ago.
authorTaylor R Campbell <campbell@mumble.net>
Sun, 6 Jan 2019 04:14:15 +0000 (04:14 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Sat, 9 Feb 2019 17:00:05 +0000 (17:00 +0000)
src/runtime/stack-sample.scm

index 834f4469fa918590352ec62f4353282be532747f..3e8c5f7995faa1722d35e4af92eaab6aa0b19449 100644 (file)
 
 (define (record-waiting profile stack-frame time-stamp)
   (let ((entry (intern-entry profile stack-frame)))
-    (if (and entry (not (eqv? time-stamp (entry.time-stamp entry))))
+    (if entry
         (begin
           (set-entry.waiting-count! entry (+ 1 (entry.waiting-count entry)))
           (set-entry.time-stamp! entry time-stamp)))))