summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-12-28 16:23:41 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2018-12-28 16:23:41 +0000
commit18ab9085034c593f49d549e370d4e2744b885914 (patch)
tree269ceacfe964004b32b45c167242baf7ddcbdb7c
parentFinally replace all the special case stuff for plans and sleeping (diff)
downloadtoy-18ab9085034c593f49d549e370d4e2744b885914.zip
Include event time in availability count
-rw-r--r--scripts/toy.groovy2
1 files changed, 2 insertions, 0 deletions
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);
}