includes/Profiler.php
/**
     * Ends the given profiler time
     * 
     * @param string $name
     */
Ends the given profiler time

@param string $name
Ends the given profiler time @param string $name
public static function endProfiler($name) {
        if (!empty($name)) {
            if (!empty(self::$profilers[$name])) {
                self::$profilers[$name][self::PROFILER_END_TIME] = microtime(true);
                self::logActivityTime($name, self::$profilers[$name]);
            }
        } else {
            Logger::getLogger()->LogWarn('Empty profiler name provided!');
        }
    }
public static function endProfiler ( $ name ) { if ( ! empty ( $ name ) ) { if ( ! empty ( self :: $ profilers [ $ name ] ) ) { self :: $ profilers [ $ name ] [ self :: PROFILER_END_TIME ] = microtime ( true ) ; self :: logActivityTime ( $ name , self :: $ profilers [ $ name ] ) ; } } else { Logger :: getLogger ( ) -> LogWarn ( 'Empty profiler name provided!' ) ; } }
Ends the given profiler time
Ends the given profiler time