From 18ab9085034c593f49d549e370d4e2744b885914 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 28 Dec 2018 16:23:41 +0000 Subject: Include event time in availability count --- scripts/toy.groovy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/toy.groovy b/scripts/toy.groovy index b500188..376c452 100644 --- a/scripts/toy.groovy +++ b/scripts/toy.groovy @@ -1619,7 +1619,9 @@ while (true) { } addAvail(clickTime); } + def eStart = getTime(); execEvents(true); + addAvail(getTime() - eStart); } -- cgit v1.2.3