Rhymix\Framework\Timer
start() #
public static function start(string $name = ''): float
Start a timer. This method returns the current microtime.
stop() #
public static function stop(string $name = ''): float
Stop a timer and return the elapsed time. If the name is not given, the most recently started timer will be stopped. If no timer has been started, this method returns zero.
stopFormat() #
public static function stopFormat(string $name = ''): string
Stop a timer and return the elapsed time in a human-readable format. If the name is not given, the most recently started timer will be stopped. If no timer has been started, this method returns '0'.
sinceStartup() #
public static function sinceStartup(): float
This method returns how much time has elapsed since Rhymix startup.
sinceStartupFormat() #
public static function sinceStartupFormat(): string
This method returns how much time has elapsed since startup in a human-readable format.
개요
확장 기능 제작
테마 제작
클래스 및 함수 명세
- 라이믹스 프레임워크
- 프론트엔드 라이브러리
- 이벤트 목록
코어 개발 참여
기타 정보