got rid of 'accept' dir in the tests
This commit is contained in:
parent
d0772feb08
commit
a274f3bf5b
264 changed files with 5 additions and 7 deletions
13
tests/compile/tcputime.nim
Executable file
13
tests/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