expose the selected clock (only for other arch classes)
This commit is contained in:
@@ -126,6 +126,12 @@ namespace
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
clockid_t ArchHooks_Unix::GetClock()
|
||||||
|
{
|
||||||
|
OpenGetTime();
|
||||||
|
return g_Clock;
|
||||||
|
}
|
||||||
|
|
||||||
RString ArchHooks::GetPreferredLanguage()
|
RString ArchHooks::GetPreferredLanguage()
|
||||||
{
|
{
|
||||||
return "en";
|
return "en";
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ public:
|
|||||||
int64_t GetMicrosecondsSinceStart();
|
int64_t GetMicrosecondsSinceStart();
|
||||||
|
|
||||||
void MountInitialFilesystems( const RString &sDirOfExecutable );
|
void MountInitialFilesystems( const RString &sDirOfExecutable );
|
||||||
|
|
||||||
|
static clockid_t GetClock();
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef ARCH_HOOKS
|
#ifdef ARCH_HOOKS
|
||||||
|
|||||||
Reference in New Issue
Block a user