Template that measures elapsed time of any function

前端 未结 0 519
野的像风
野的像风 2021-01-26 18:42

I want to create a template function that measures the elapsed time of any other function. What I did until now:

using TimeDuration = std::chrono::nanoseconds;

s         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题