← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #403295]: Getting time of matching operation

 

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

RaiMan posted a new comment:
Match.getTime()
... returns the time in milliseconds of the elapsed time of  the corresponding find action including loading the image and the (in case repetetive) search for the image.

In Python it is an integer value, that can be used for whatever you want
appropriately.

duration = a.getTime()
durationInSeconds = duration/1000
print durationInSeconds

print automatically converts to printable string values if possible.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.