PerfMon: enable thread-checker
Enable thread-checker for all PerfMon packages:
-
PerfMonMTUtils
: splitcapture
method into a thread-safe and not thread-safe method - Mark several legacy (non-MT) classes and functions as not thread-safe
- Delete unused
ScopedMonitor
- Replace caching in
PMonSD::CompDataStdSteps
withunordered_map
(hopefully fast enough) - minor
const
andstatic
fixes
cc @amete