This class gives idea about the memory usage by UCHe.
Public Methods
-
ptrdiff_t memusage_get(void)
- Get the current memory pointer on the stack
-
static MemoryHandler* getInstance()
- Get the Instance of MemoryHandler
-
void printMemoryUsage(string className)
- Print the total memory usage of UCHe
-
void stopMemoryThread()
- Stop the memory triming
-
void restartMemoryThread()
- Restart memory triming
Documentation
This class gives idea about the memory usage by UCHe.
Memory triming is also done every 5 seconds for freeing the un-used memory.
ptrdiff_t memusage_get(void)
-
Get the current memory pointer on the stack
static MemoryHandler* getInstance()
-
Get the Instance of MemoryHandler
void printMemoryUsage(string className)
-
Print the total memory usage of UCHe
- Parameters:
- className - a String value of class from where this function is called.
This will display the name of class along with memory consumption
void stopMemoryThread()
-
Stop the memory triming
void restartMemoryThread()
-
Restart memory triming
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.