在eclipse平台下,用C++开发的项目,想测试一下某功能模块的耗时,请问应该用哪个函数?
eclipse C++
#include "time.h" clock_t beg, end; beg = clock(); int cnt = 0; for(; cnt < 1000000000; ) ++cnt; end = clock(); printf("%f",(double)(end - beg)); 2657.000000
eclipse+cdt+mingw stdlib.h中的库函数无法使用
eclipse for C++ code analysis 不准确怎么解决
eclipseCDT中如何让 “gtest” 的测试函数不在主程序的main()中执行
eclipse3.7.0Indigo用cdt大量语法错误,但又能成功编译
gtk制作系统监视器问题
c++中的null未定义问题