📅  最后修改于: 2022-03-11 14:44:54.074000             🧑  作者: Mango
#include
auto t_start = std::chrono::high_resolution_clock::now();
// the work...
auto t_end = std::chrono::high_resolution_clock::now();
double elapsed_time_ms = std::chrono::duration(t_end-t_start).count();