📅  最后修改于: 2022-03-11 14:44:45.507000             🧑  作者: Mango
auto start = std::chrono::high_resolution_clock::now();
...
auto elapsed = std::chrono::high_resolution_clock::now() - start;
long long microseconds = std::chrono::duration_cast(elapsed).count();