what code do i need to add in my script in order to add a timer

Asked by Richi

Hello,

actually i have already written a scenario script with sikuli

now i want to add timer in order to know how much time does sikuli takes to run scenario.

I want to know what code line do i need to add in my script order that .

thanx

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

start = time.time()
# some code
taken = time.time() - start # time in seconds as decimal

Revision history for this message
Richi (ateeshr) said :
#2

thank you..

i shall try to use yr instructions and then i shall confirm whether my problem has been solved

Can you help with this problem?

Provide an answer of your own, or ask Richi for more information if necessary.

To post a message you must log in.