Exemplo n.º 1
0
        public static ProfiledFunction[] GetProfilerData(CpuType type)
        {
            ProfiledFunction[] profilerData  = new ProfiledFunction[100000];
            UInt32             functionCount = 0;

            DebugApi.GetProfilerDataWrapper(type, profilerData, ref functionCount);
            Array.Resize(ref profilerData, (int)functionCount);

            return(profilerData);
        }