|
dl
|
#include <dl_time.h>
Public 类型 | |
| enum class | StringFormat { HH_MM_SS , YYYY_MM_DD , YYYY_MM_DD_HH_MM , YYYY_MM_DD_HH_MM_SS } |
Public 成员函数 | |
| Time () | |
| FloatTime | GetDelta () |
| 返回帧间隔 更多... | |
| unsigned | GetFPS () |
| 返回fps 更多... | |
| void | SetFPS (unsigned fps) |
| 返回fps 更多... | |
| FloatTime | GetCurrent () |
| 返回游戏运行累计时间 更多... | |
静态 Public 成员函数 | |
| static time_t | GetTimeStamp () |
| 返回时间戳 更多... | |
| static std::string | TimeStampDelta2String (time_t t) |
| 时间戳间隔 -> xx:xx:xx 更多... | |
| static std::string | TimeStamp2String (time_t t, StringFormat sf=StringFormat::HH_MM_SS) |
| 时间戳 -> xxxx-xx-xx xx:xx:xx 具体参见第二个参数 更多... | |
友元 | |
| class | System |
|
strong |
|
static |
返回时间戳
|
static |
时间戳 -> xxxx-xx-xx xx:xx:xx 具体参见第二个参数
|
static |
时间戳间隔 -> xx:xx:xx