proc dump(conf: ConfigRef; pd: ProfileData): string {. ...raises: [Exception, KeyError, OSError], tags: [RootEffect, ReadDirEffect].}
proc enter(prof: var Profiler; c: PCtx; tos: PStackFrame) {.inline, ...raises: [], tags: [TimeEffect].}
proc leave(prof: var Profiler; c: PCtx) {.inline, ...raises: [KeyError], tags: [TimeEffect].}