summary refs log tree commit diff stats
path: root/compiler/vmprofiler.nim
Commit message (Collapse)AuthorAgeFilesLines
* cleanup of PR #14833 (VM profiler)Araq2020-07-091-13/+16
|
* VM profiler (#14833)Ico Doornekamp2020-07-091-0/+42
* Crude VM profiler * Added --profileVM flag, refactoring * fixed FileLine hash * Use TLineInfo instead of own FileLine, updated formatting * Refactoring, moved PStackFrame to vmdefs for cleaner data structure * Moved vmprofiler to separate file * Simplified TLineInfo hash, use toFileLineCol for output * Hash * Moved profile data into Config, dump only once at end of run * Changed profile output header to show '#instr' instead of 'count' * Do not accumulate instrcount for non-top frames Co-authored-by: Ico Doornekamp <git@zevv.nl>