public static float GetCurrentCpuUsage() { return(PerfCounter.GetCPUCounter() .NextValue()); }
public static long GetLargeObjectHeapSize() { return(PerfCounter.GetLargeObjectHeap() .NextSample() .RawValue); }
public static float GetTimeInGC() { return(PerfCounter.GetTimeInGc() .NextValue()); }