2015-06-01 28 views

回答

5

使用TStopwatchSystem.Diagnostics

  • 在Windows上,它使用QueryPerformanceCounter實現。
  • 在Mac OS上,它使用mach_absolute_time實施。
  • 在POSIX平臺上,它實現了clock_gettime