Monotonic clock. Like clock(), returns time passed in CLOCKS_PER_SEC items. In Android 5+ and Unix usual clock() returns time spent by all threads together, so we cannot use it to measure time intervals anymore.
| 71 | // In Android 5+ and Unix usual clock() returns time spent by all threads |
| 72 | // together, so we cannot use it to measure time intervals anymore. |
| 73 | clock_t MonoClock() |
| 74 | { |
| 75 | return clock(); |
| 76 | } |
| 77 | |
| 78 | |
| 79 |