Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 324 Bytes

File metadata and controls

18 lines (15 loc) · 324 Bytes

StopWatch

使用方法: StopWatch sw; sw.start(); ... // Ta double sec = sw.seconds(); // == Ta

sw.re_start();
... // Ta
sw.stop();
... 
sw.start();
...  // Tb
sec = sw.seconds(); // == Ta + Tb
kkk ,sec = sw.seconds(); // == Ta + Tb
sec = sw.seconds(); // == Ta + Tb