企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# 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" /> ```