获取当前毫秒数 主要是打印日志的时候用到 int tick=(int)(std::clock()*1000/ CLOCKS_PER_SEC); 头文件为ctime 转载于:https://www.cnblogs.com/yuandaozhe/p/10102338.html