DISPLAY_FUNCTION_TIMER_AVERAGE() public static method

public static DISPLAY_FUNCTION_TIMER_AVERAGE ( string functionName ) : void
functionName string
return void
Exemplo n.º 1
0
    protected override void InitService()
    {
        CreateGeodesicSphere(Resolution);
        FunctionTimer.DISPLAY_FUNCTION_TIMER_AVERAGE("Subdivision_Total_" + Resolution);
        FunctionTimer.DISPLAY_FUNCTION_TIMER_AVERAGE("MeshCreation_Total_" + Resolution);

        //for (var i = 0; i < Resolution; i++)
        //    CreateGeodesicSphere(i);

        /*
         * for (int i = 0; i < Resolution; i++)
         * {
         *  FunctionTimer.DISPLAY_FUNCTION_TIMER_AVERAGE("Subdivision_Total_" + i);
         *  FunctionTimer.DISPLAY_FUNCTION_TIMER_AVERAGE("MeshCreation_Total_" + i);
         * }
         */
    }