Remove extraneous Windows functions
This commit is contained in:
parent
96ae35912f
commit
a7d977210e
@ -20,18 +20,6 @@ typedef struct {
|
|||||||
|
|
||||||
static os_metrics GlobalMetrics;
|
static os_metrics GlobalMetrics;
|
||||||
|
|
||||||
static u64 GetOSTimerFreq(void) {
|
|
||||||
LARGE_INTEGER Freq;
|
|
||||||
QueryPerformanceFrequency(&Freq);
|
|
||||||
return Freq.QuadPart;
|
|
||||||
}
|
|
||||||
|
|
||||||
static u64 ReadOSTimer(void) {
|
|
||||||
LARGE_INTEGER Value;
|
|
||||||
QueryPerformanceCounter(&Value);
|
|
||||||
return Value.QuadPart;
|
|
||||||
}
|
|
||||||
|
|
||||||
static u64 ReadWindowsPageFaultCount(void) {
|
static u64 ReadWindowsPageFaultCount(void) {
|
||||||
PROCESS_MEMORY_COUNTERS_EX MemoryCounters = {0};
|
PROCESS_MEMORY_COUNTERS_EX MemoryCounters = {0};
|
||||||
MemoryCounters.cb = sizeof(MemoryCounters);
|
MemoryCounters.cb = sizeof(MemoryCounters);
|
||||||
|
Loading…
Reference in New Issue
Block a user