diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-12-28 16:23:41 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-12-28 16:23:41 +0000 |
commit | 18ab9085034c593f49d549e370d4e2744b885914 (patch) | |
tree | 269ceacfe964004b32b45c167242baf7ddcbdb7c | |
parent | Finally replace all the special case stuff for plans and sleeping (diff) | |
download | toy-18ab9085034c593f49d549e370d4e2744b885914.zip |
Include event time in availability count
-rw-r--r-- | scripts/toy.groovy | 2 |
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); } |