Is there a way to create a category and / or counters so that they can withstand the end of the application?
Yes, but only by using performance counters from scratch using the Win32 API and for the component that PerfMon (or remote performance) uses to read the values ββto display, should it be completely internal code.
In practice, it will be easier to ensure your own constancy of values ββand set the initial values ββof the counters at startup (and then this can be saved throughout, for example, when you restart the computer).
source share