class MemoryHandler

This class gives idea about the memory usage by UCHe.

Public Methods

[more]ptrdiff_t memusage_get(void)
Get the current memory pointer on the stack
[more]static MemoryHandler* getInstance()
Get the Instance of MemoryHandler
[more]void printMemoryUsage(string className)
Print the total memory usage of UCHe
[more]void stopMemoryThread()
Stop the memory triming
[more]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.
optrdiff_t memusage_get(void)
Get the current memory pointer on the stack

ostatic MemoryHandler* getInstance()
Get the Instance of MemoryHandler

ovoid 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

ovoid stopMemoryThread()
Stop the memory triming

ovoid 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++.