添加内存锻炼器代码

This commit is contained in:
zsyg
2025-06-28 09:00:15 +08:00
committed by GitHub
parent 0efd3a9e32
commit 6df4a9a534
18 changed files with 800 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#ifndef UTILS_H
#define UTILS_H
#include <stddef.h>
// 字节转换工具MB转字节
size_t mb_to_bytes(size_t mb);
// 获取当前时间戳(毫秒)
long long get_timestamp();
// 打印调试信息(支持中文)
void debug_print(const wchar_t* message);
#endif // UTILS_H