implemented a stack trace profiler
This commit is contained in:
parent
4a435a8fb4
commit
214c7a2ebd
11 changed files with 241 additions and 65 deletions
|
|
@ -20,6 +20,10 @@ import
|
|||
when hasTinyCBackend:
|
||||
import tccgen
|
||||
|
||||
when defined(profiler):
|
||||
{.hint: "Profiling support is turned on!".}
|
||||
import nimprof
|
||||
|
||||
var
|
||||
arguments: string = "" # the arguments to be passed to the program that
|
||||
# should be run
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue