📄 timer.hhf
字号:
#if( ! @defined( timerclass_hhf ))?timerclass_hhf := true; #includeOnce( "datetime.hhf" ) #includeOnce( "stdio.hhf" )/****************************************************//* *//* The TIMER class: *//* *//****************************************************/const timer :text := "timer_t"; // Deprecated typetype timer_t: class var Accumulated: qword; DateStarted: date.daterec; TimeStarted: time.timerec; msStarted: uns32; DateStopped: date.daterec; TimeStopped: time.timerec; msStopped: uns32; Running: boolean; Valid: boolean; procedure create; @external( "TIMER_CREATE" ); method start; @external( "TIMER_START" ); method restart; @external( "TIMER_RESTART" ); method stop; @returns( "edx:eax" ); @external( "TIMER_STOP" ); method checkPoint; @returns( "edx:eax" ); @external( "TIMER_CHECKPOINT" ); endclass;#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -