📄 time.h
字号:
#ifndef UTILS_BASE_TIME_H_#define UTILS_BASE_TIME_H_#include "basictypes.h"namespace utils_base {// Returns the current time in milliseconds.uint32 Time();// Approximate time when the program started.uint32 StartTime();// Elapsed milliseconds since StartTime()uint32 ElapsedTime();// TODO: Delete this old version.#define GetMillisecondCount Time// Comparisons between time values, which can wrap around.bool TimeIsBetween(uint32 later, uint32 middle, uint32 earlier);int32 TimeDiff(uint32 later, uint32 earlier);} // namespace utils_base#endif // UTILS_BASE_TIME_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -