In Windows, I've used QueryPerformanceCounter
to measure code performance in microseconds. I would like to do the same in all platforms within Firemonkey. I found one solution, but it's only for C++.
What's the equivalent for all platforms?
Use TStopwatch
from System.Diagnostics
.
QueryPerformanceCounter
. mach_absolute_time
.clock_gettime
.