← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #156879]: How to collect elapsed time of some parts of a script

 

Question #156879 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/156879

Description changed to:
comment added after problem solved:
wants to collect elapsed times in his script and output them to a text file for evaluation.
----------------------------------------------------------------------------------------------


I am using time.time() in order to measure the time between checkpionts in my script. 

The problem is that i do not know how long time any of the checkpionts
will take. Therefore I can not declare my max value to a pre set number
like this:

start = time.time()
max = 100.0                  #Max value

In order to set max into a variable like [i] and that max therefore is
unset and unlimited?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.