c++ 计时
来源:互联网 发布:天池大数据竞赛 新手 编辑:程序博客网 时间:2024/06/14 15:04
#include <sys/time.h>
struct timeval start,end;
gettimeofday(&start,NULL);if (!load_pattern_pred_mapping_dict(pred_norm_dict_file)) {
fprintf(stderr, "load pattern pred mapping dict file failed, pls check file: %s\n", pred_norm_dict_file);
return false;
}
gettimeofday(&end,NULL);
printf("load pred norm dict used:%d s\n",(int)(end.tv_sec - start.tv_sec));
0 0
- c 计时
- linux C语言 计时
- linux C语言 计时
- C语言计时函数
- 【c++】计时函数
- c计时函数
- C语言计时函数
- C/C++计时函数
- C语言计时函数
- C/C++ 计时
- 【C/C++】计时函数比较
- 【C/C++】计时函数比较
- 【C/C++】计时函数比较
- 【C/C++】计时函数比较
- 【C/C++】计时函数比较
- 【C/C++】计时函数比较
- 【C/C++】计时函数比较
- 【C/C++】计时函数比较
- JAVA抽象类与接口
- android---HandlerThread源码分析
- Spring单例与线程安全小结
- LeetCode 213 House Robber II
- 数据存储笔记
- c++ 计时
- iOS应用内跳转到系统设置推送开关
- 解决java内存溢出最佳配置
- php 本地配置根目录
- Merge的用法
- 安卓Shape
- TCP/IP网络协议
- 仿百度搜索代码
- Android Intent传递List<Object>数据