Commit Graph

4 Commits

Author SHA1 Message Date
Mihai Parparita
ffb14e4252 Add instruction counters to CPU profiler
Keeps track of instructions (including operands) that are executed,
to see if there are any hotspots that could be optimized or fastpaths
that should be added.

Also adds a mode where CPU profiler data is periodically output, to
make it easier to get at these instruction counts during startup.
2024-05-19 22:02:27 -07:00
Maxim Poliakovski
048b4f5f20 Fix forgotten include. 2021-04-19 00:13:33 +02:00
Maxim Poliakovski
ed6c316c82 profiler: add reset command. 2021-04-14 17:04:14 +02:00
Maxim Poliakovski
31b5290ac9 New profiler API. 2021-04-14 01:27:07 +02:00