static public function start( $name )
    {
        if ( !ObjectManager::getInstance()->get( Config::class )->getValue( 'profile' ) ) {
            return;
        }

        if ( !isset( self::$profileNames[$name] ) ) {
            self::$profileNames[$name] = 0;
        }
        $realName = $name . '_' . self::$profileNames[$name] ++;
        array_push( self::$currentProfileNames, $realName );

        self::$profiles[implode( self::PATH_SEPARATOR, self::$currentProfileNames )] = [
            'start_at' => microtime( true ),
            'start_used_memory' => memory_get_usage()
        ];
    }
static public function start( $name )
    {
        if ( !ObjectManager::getInstance()->get( Config::class )->getValue( 'profile' ) ) {
            return;
        }

        if ( !isset( self::$profileNames[$name] ) ) {
            self::$profileNames[$name] = 0;
        }
        $realName = $name . '_' . self::$profileNames[$name] ++;
        array_push( self::$currentProfileNames, $realName );

        self::$profiles[implode( self::PATH_SEPARATOR, self::$currentProfileNames )] = [
            'start_at' => microtime( true ),
            'start_used_memory' => memory_get_usage()
        ];
    }
static public function start ( $ name ) { if ( ! ObjectManager :: getInstance ( ) -> get ( Config :: class ) -> getValue ( 'profile' ) ) { return ; } if ( ! isset ( self :: $ profileNames [ $ name ] ) ) { self :: $ profileNames [ $ name ] = 0 ; } $ realName = $ name . '_' . self :: $ profileNames [ $ name ] ++ ; array_push ( self :: $ currentProfileNames , $ realName ) ; self :: $ profiles [ implode ( self :: PATH_SEPARATOR , self :: $ currentProfileNames ) ] = [ 'start_at' => microtime ( true ) , 'start_used_memory' => memory_get_usage ( ) ] ; }
Set start point for a new profile
@param string $name
Set start point for a new profile