bugfix: exception handling (still not correct)
This commit is contained in:
parent
909f7dbf8c
commit
c441cdb64c
18 changed files with 145 additions and 39 deletions
13
tests/accept/compile/tcputime.nim
Executable file
13
tests/accept/compile/tcputime.nim
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
import times, os
|
||||
|
||||
var e = epochTime()
|
||||
var c = cpuTime()
|
||||
|
||||
os.sleep(1500)
|
||||
|
||||
e = epochTime() - e
|
||||
c = cpuTime() - c
|
||||
|
||||
echo "epochTime: ", e, " cpuTime: ", c
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue