Post Reply 
Python syntax time functions in cas
09-07-2019, 01:44 PM (This post was last modified: 09-07-2019 01:46 PM by Stevetuc.)
Post: #1
Python syntax time functions in cas
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
Code:

#cas
def timep:
start = monotonic()
wait(1)
stop=monotonic()
return stop-start
#end

timep returns lambda NULL:monotonic

Any thoughts?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Python syntax time functions in cas - Stevetuc - 09-07-2019 01:44 PM



User(s) browsing this thread: 1 Guest(s)