Skip to content

PerfMonComps: PerfMonMT performance and bug fixes

This MR includes two main changes to PerfMonMT:

  • Fix a logical bug in startAud and stopAud methods
  • Decouple snapshot and component-level capturing codes

The second is needed because hitting /proc so frequently (as it was originally done) comes with a huge overhead. It's OK to do this every so often (i.e. snapshots) so I kept the same logic there but removed this behavior from the component-level measurements. We need to find a more optimal solution for the latter (perhaps do something along the lines of PMonSD there).

cc: @haozturk

Merge request reports