I found one another useful thing that PerfMonPDH lacks.
There are some values that perfmon doesn't provide counters for but that can be calculated using other counters.
Well, I am specifically interested in shared memory that is <Working set> - <Working set - Private>, but there can be other cases, such as read to write ratio or something.
PerfmonPDH can not use such values neither for sorting nor for rollup. And if I want to, for example, obtain approximate RAM usage of chrome it is a problem, because rough approximate value for it is (sum(working set private) + max(working set shared)).
I think, I have a solution. And I believe that it can be implemented and won't cause performance issues.
We can add a virtual "counters" that won't be obtained from PDH but calculated from other counters.
I propose the following syntax:
The example of using plugin after update:
I've looked into code, and I believe I know how to implement it.
What do you think about it?