This commit is contained in:
Zengtudor 2024-09-19 10:18:37 +08:00
parent 9bdfd1c731
commit ed44a375b2
2 changed files with 3 additions and 1 deletions

View File

@ -29,6 +29,8 @@ xmake project -k vsxmake
> 什么环境下性能最好? > 什么环境下性能最好?
> 经过测试在windows环境下前端使用mingw后端使用llvm也就是clang的时候性能最好 > 经过测试在windows环境下前端使用mingw后端使用llvm也就是clang的时候性能最好
>
> 可以酌情开启xmake.lua中的avx512加速
> perf > perf

View File

@ -55,7 +55,7 @@ public:
~Spent()noexcept{ ~Spent()noexcept{
const auto end = std::chrono::system_clock::now(); const auto end = std::chrono::system_clock::now();
const auto dur = std::chrono::duration_cast<std::chrono::milliseconds> (end-start); const auto dur = std::chrono::duration_cast<std::chrono::milliseconds> (end-start);
zt::print("[Timer: ",name,"]"," Stop timing , using ", dur,"\n"); zt::print("[Timer: ",name,"]"," Stop timing , using ", dur.count(),"ms\n");
} }
}; };