/** * Set the maximum time statistics are calculated. * If the time limit is exceeded, the missing * entries will be null. * @param $limit float time in seconds */ public static function setTimeLimit( $limit ) { self::$timeStart = microtime( true ); self::$limit = $limit; }