diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-08-02 23:25:56 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-08-02 23:25:56 +0200 |
commit | 5188fb2251e02b32fd017dc7ba8cd6d0ce892c75 (patch) | |
tree | c79ed2f7b1734ebccc53fa4daee9ed1a5a2862c4 /module/entry-points/benchmark.scm | |
parent | Repair vcomponent describe. (diff) | |
download | calp-5188fb2251e02b32fd017dc7ba8cd6d0ce892c75.tar.gz calp-5188fb2251e02b32fd017dc7ba8cd6d0ce892c75.tar.xz |
Remove (util app).
Diffstat (limited to '')
-rw-r--r-- | module/entry-points/benchmark.scm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/module/entry-points/benchmark.scm b/module/entry-points/benchmark.scm index ae55aa26..a8507fb9 100644 --- a/module/entry-points/benchmark.scm +++ b/module/entry-points/benchmark.scm @@ -4,7 +4,7 @@ :use-module (ice-9 getopt-long) :use-module (util options) :use-module (util) - :use-module (util app) + :use-module (srfi srfi-41) ) @@ -32,6 +32,8 @@ (unless field (throw 'argument-error "Field `field' required.")) - (aif (option-ref opts 'enable-output #f) - (write (getf field app: (current-app))) - (getf field app: (current-app)))) + (let ((strm ((@ (vcomponent instance) get-event-set) + (@ (vcomponent instance) global-event-object)))) + (if (option-ref opts 'enable-output #f) + (write (stream->list 1000 strm)) + (stream->list 1000 strm)))) |