From 5188fb2251e02b32fd017dc7ba8cd6d0ce892c75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 2 Aug 2020 23:25:56 +0200 Subject: Remove (util app). --- module/entry-points/benchmark.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'module/entry-points/benchmark.scm') 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)))) -- cgit v1.2.3