High-Performance Timer vs StopWatch

前端 未结 3 949
清酒与你
清酒与你 2020-12-15 16:02

Does anyone know if the HiPerfTimer or the StopWatch class is better for benchmarking, and why?

3条回答
  •  臣服心动
    2020-12-15 16:40

    Stopwatch is based on High resolution timer (where available), you can check that with IsHighResolution

提交回复
热议问题