Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
memory.h
Go to the documentation of this file.
1 
18 #ifndef ION_PORT_MEMORY_H_
19 #define ION_PORT_MEMORY_H_
20 
21 #include "base/integral_types.h"
22 
23 namespace ion {
24 namespace port {
25 
28 
30 ION_API uint64 GetSystemMemorySize();
31 
32 } // namespace port
33 } // namespace ion
34 
35 #endif // ION_PORT_MEMORY_H_
uint64 GetProcessResidentMemorySize()
Return size of the current process in bytes.
Definition: memory.cc:78
uint64 GetSystemMemorySize()
Return the hardware RAM size in bytes.
Definition: memory.cc:98