|
BIMHome v1.0.0
BIMHome接口文档说明
|
一个简单的计时器类,用于测量时间间隔 更多...
#include <Tools.h>
Public 成员函数 | |
| int | elapsed () |
| 获取经过的时间 | |
| int | restart () |
| 重启计时器 | |
| void | start () |
| 启动计时器 | |
| StopWatch () | |
| 构造函数 | |
| std::string | toString (int ms) const |
| 将时间转换为字符串 | |
| ~StopWatch () | |
| 析构函数 | |
Private 属性 | |
| Private * | d |
| 私有数据结构 | |
一个简单的计时器类,用于测量时间间隔
该类提供了一个简单的接口来启动、重启和测量时间间隔。