多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# C.104 StopwatchTask The StopwatchTask provides an easy way to measure execution time of phing tasks. Table C.137:聽Attributes NameTypeDescriptionDefaultRequired`name``String`Name of the timer.聽Yes`category``String`Set a category for the timer.聽No`action``String`Action could be one of start, stop or lapstartNo C.104.1 Example ``` <stopwatch name="test" /> <!-- some other task... --> <stopwatch name="test" action="lap" /> <!-- some other task... --> <stopwatch name="test" action="lap" /> <!-- some other task... --> <stopwatch name="test" action="lap" /> <!-- some other task... --> <stopwatch name="test" action="stop" /> ```