← 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

    Status: Solved => Open

Alex Lunyov is still having a problem:
Thanks Raiman! But I still need some help. So, when the image is right
on the screen and it matches during first scan, the result is like this:

getTime()
>>15       
print a
M[1014,305 169x155]@S(S(0)[0,0 1920x1080]) S:1,00 C:1098,382 [15 msec]
# 15 and 15 msec

And when I do some clicks to open image and it matches during next scan
iterations, the result of getTime is different:

getTime()
>>33        
print a
M[1014,305 169x155]@S(S(0)[0,0 1920x1080]) S:1,00 C:1098,382 [15 msec]
# 33 and 15 msec

So, I need the whole time, not the time of successful scan (is it right definition of getTime?)
I could try to get a difference of system time before and after find operation but I wonder if there are internal timing function.

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