How to collect elapsed time of some parts of a script
Asked by
Calle Rundgren
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?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Calle Rundgren
- Solved:
- Last query:
- Last reply:
To post a message you must log in.