09-07-2019, 01:44 PM
Using python syntax in the cas,(how)is it possible to reference monotonic() or timed.monotonic functions?
I am trying to run some python benchmarks from
https://tiplanet.org/forum/viewtopic.php...0&start=70
See final post on that page for listings.
Im having problems getting the 3rd listing in python syntax to return valid timings and it seems that monotonic(), which is a python time function , isnt recognised.
I also tried
timep returns lambda NULL:monotonic
Any thoughts?
I am trying to run some python benchmarks from
https://tiplanet.org/forum/viewtopic.php...0&start=70
See final post on that page for listings.
Im having problems getting the 3rd listing in python syntax to return valid timings and it seems that monotonic(), which is a python time function , isnt recognised.
I also tried
Code:
#cas
def timep:
start = monotonic()
wait(1)
stop=monotonic()
return stop-start
#end
timep returns lambda NULL:monotonic
Any thoughts?