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