mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-09 08:21:18 +12:00
nn_fp: Full rework of friend service
This commit is contained in:
parent
13a50a915e
commit
0d71885c88
37 changed files with 2862 additions and 1991 deletions
|
@ -36,6 +36,16 @@ public:
|
|||
static HighResolutionTimer now();
|
||||
static HRTick getFrequency();
|
||||
|
||||
static HRTick microsecondsToTicks(uint64 microseconds)
|
||||
{
|
||||
return microseconds * m_freq / 1000000;
|
||||
}
|
||||
|
||||
static uint64 ticksToMicroseconds(HRTick ticks)
|
||||
{
|
||||
return ticks * 1000000 / m_freq;
|
||||
}
|
||||
|
||||
private:
|
||||
HighResolutionTimer(uint64 timePoint) : m_timePoint(timePoint) {};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue