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

Function getResidentMemoryBytes

common/sys/sysinfo.cpp:538–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

536 }
537
538 size_t getResidentMemoryBytes()
539 {
540 PROCESS_MEMORY_COUNTERS info;
541 GetProcessMemoryInfo( GetCurrentProcess( ), &info, sizeof(info) );
542 return (size_t)info.WorkingSetSize;
543 }
544}
545#endif
546

Callers 1

logMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected