|
getTicks
|
|
|
|
| None
|
|
|
|
|
| The number of milliseconds that have elapsed since the system was started.
|
|
|
|
|
| This set of statements uses the getTicks function to benchmark the Sobel operator:
|
|
|
| setCurDir ("samples")
|
| loadIm (1,"sample8.iwd")
|
| t1=getTicks()
|
| sobel(1,1)
|
| t2=getTicks()
|
| bench=(t2-t1)/1000.
|
| Print "Execution time ",bench, " sec"
|
|
|