C++中计算程序运行时间

来源:互联网 发布:苏州市网络安全教育 编辑:程序博客网 时间:2024/05/17 22:15


    double t = (double)getTickCount();    Sharpen(I, J);//函数体    t = ((double)getTickCount() - t)/getTickFrequency();    cout << "Hand written function times passed in seconds: " << t << endl;


0 0
原创粉丝点击