Use Cemu basic types.

This commit is contained in:
Tom Lally 2022-09-01 19:13:49 +01:00
parent 8a8d9a2f73
commit 60cb1aebd8
4 changed files with 23 additions and 23 deletions

View file

@ -1,11 +1,11 @@
#include "util/SystemInfo/SystemInfo.h"
uint64_t ProcessorTime::work()
uint64 ProcessorTime::work()
{
return user + kernel;
}
uint64_t ProcessorTime::total()
uint64 ProcessorTime::total()
{
return idle + user + kernel;
}
@ -20,7 +20,7 @@ double ProcessorTime::Compare(ProcessorTime &last, ProcessorTime &now)
void QueryProcTime(ProcessorTime &out)
{
uint64_t now, user, kernel;
uint64 now, user, kernel;
QueryProcTime(now, user, kernel);
out.idle = now - (user + kernel);