Skip to content

Commit

Permalink
Update prefix to use special prims
Browse files Browse the repository at this point in the history
  • Loading branch information
bsaleil committed Jun 15, 2018
1 parent a524d80 commit 1485d4a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions tools/benchtimes/prefix/LC.scm
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@
r)))

(define (##lc-exec-stats thunk)
(let* ((at-start (gambit$$##process-statistics))
(let* ((at-start (##process-statistics))
(result (thunk))
(at-end (gambit$$##process-statistics)))
(at-end (##process-statistics)))
(define (get-info msg idx)
(cons msg
(- (gambit$$##f64vector-ref at-end idx)
(gambit$$##f64vector-ref at-start idx))))
(- (f64vector-ref at-end idx)
(f64vector-ref at-start idx))))
(list
result
(get-info "User time" 0)
Expand Down
8 changes: 4 additions & 4 deletions tools/benchtimes/prefix/LCf64v.scm
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@
r)))

(define (##lc-exec-stats thunk)
(let* ((at-start (gambit$$##process-statistics))
(let* ((at-start (##process-statistics))
(result (thunk))
(at-end (gambit$$##process-statistics)))
(at-end (##process-statistics)))
(define (get-info msg idx)
(cons msg
(- (gambit$$##f64vector-ref at-end idx)
(gambit$$##f64vector-ref at-start idx))))
(- (f64vector-ref at-end idx)
(f64vector-ref at-start idx))))
(list
result
(get-info "User time" 0)
Expand Down

0 comments on commit 1485d4a

Please sign in to comment.