projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de3dd56
)
Can't see why I chose to discard recent samples a decade ago.
author
Taylor R Campbell
<campbell@mumble.net>
Sun, 6 Jan 2019 04:14:15 +0000
(
04:14
+0000)
committer
Taylor R Campbell
<campbell@mumble.net>
Sat, 9 Feb 2019 17:00:05 +0000
(17:00 +0000)
src/runtime/stack-sample.scm
patch
|
blob
|
history
diff --git
a/src/runtime/stack-sample.scm
b/src/runtime/stack-sample.scm
index 834f4469fa918590352ec62f4353282be532747f..3e8c5f7995faa1722d35e4af92eaab6aa0b19449 100644
(file)
--- a/
src/runtime/stack-sample.scm
+++ b/
src/runtime/stack-sample.scm
@@
-244,7
+244,7
@@
(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)))))