C++优化代码ms时间差获取

#include <time.h>
clock_t start,ends; start=clock(); Sleep(50); ends=clock(); cout<<ends-start<<endl;
posted @ 2019-10-28 10:33  Werial  阅读(449)  评论(0编辑  收藏  举报