core_timing: Make GetGlobalTimeUs() return std::chrono::microseconds
Enforces the time unit being returned and also allows using the standard time utilities to manipulate it.
This commit is contained in:
parent
5e658efdb8
commit
660be9499d
4 changed files with 14 additions and 14 deletions
|
@ -17,6 +17,7 @@
|
|||
* ScheduleEvent(periodInCycles - cyclesLate, callback, "whatever")
|
||||
*/
|
||||
|
||||
#include <chrono>
|
||||
#include <functional>
|
||||
#include <limits>
|
||||
#include <string>
|
||||
|
@ -184,7 +185,7 @@ void ClearPendingEvents();
|
|||
|
||||
void ForceExceptionCheck(s64 cycles);
|
||||
|
||||
u64 GetGlobalTimeUs();
|
||||
std::chrono::microseconds GetGlobalTimeUs();
|
||||
|
||||
s64 GetDowncount();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue