Ejemplo n.º 1
0
    public static CriWare.CpuUsage GetCpuUsage()
    {
        var usage = new CriWare.CpuUsage();

        criAtomUnity_GetCpuUsage(out usage.last, out usage.average, out usage.peak);
        return(usage);
    }
Ejemplo n.º 2
0
 public static CriWare.CpuUsage GetCpuUsage()
 {
     var usage = new CriWare.CpuUsage();
     criAtomUnity_GetCpuUsage(out usage.last, out usage.average, out usage.peak);
     return usage;
 }