MCPcopy Create free account
hub / github.com/RenderKit/embree / getVirtualMemoryBytes

Function getVirtualMemoryBytes

common/sys/sysinfo.cpp:531–536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529 }
530
531 size_t getVirtualMemoryBytes()
532 {
533 PROCESS_MEMORY_COUNTERS info;
534 GetProcessMemoryInfo( GetCurrentProcess( ), &info, sizeof(info) );
535 return (size_t)info.QuotaPeakPagedPoolUsage;
536 }
537
538 size_t getResidentMemoryBytes()
539 {

Callers 1

logMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected