I came across a different behavior in the calculation of CPU itilization. In my code i use performance counter "Processor Time", instance "_Total" and it seems to work okay (Windows Performance monitor show the same value, Sysinternals Process Explorer as well) , but built-in Task Manager in Windows 8 or 10 shows much less, if power options allows balance CPU speed and CPU is at a given moment running at a lower frequency.
Is there any C# of C function, perf. counter .. to provide this (Task Manager) value, or read the current CPU frequency and somehow calculate it?