| 
    MeVisLab Toolbox Reference
    
   | 
 
#include <mlMemoryProfile.h>
Public Member Functions | |
| MLMemoryProfile (MLCurrentlyUsedMemoryTracker *tracker, const std::string &shortDescription) | |
| ~MLMemoryProfile () | |
| void | addMemory (MLProfilingMemoryType memory) | 
| Adds allocated memory.   | |
| MLProfilingMemoryType | getMemory () const | 
| Returns the used memory since instantiation/last reset.   | |
| MLProfilingMemoryType | getCurrentlyUsedMemory () const | 
| Returns the currently used memory in bytes.   | |
| void | reset () | 
| Resets the profile.   | |
| const std::string & | shortDescription () const | 
| const std::string & | description () const | 
| void | setDescription (const std::string &description_) | 
Friends | |
| class | MLCurrentlyUsedMemoryTracker | 
Definition at line 42 of file mlMemoryProfile.h.
| MLMemoryProfile::MLMemoryProfile | ( | MLCurrentlyUsedMemoryTracker * | tracker, | 
| const std::string & | shortDescription | ||
| ) | 
| MLMemoryProfile::~MLMemoryProfile | ( | ) | 
| void MLMemoryProfile::addMemory | ( | MLProfilingMemoryType | memory | ) | 
Adds allocated memory.
      
  | 
  inline | 
Definition at line 58 of file mlMemoryProfile.h.
| MLProfilingMemoryType MLMemoryProfile::getCurrentlyUsedMemory | ( | ) | const | 
Returns the currently used memory in bytes.
| MLProfilingMemoryType MLMemoryProfile::getMemory | ( | ) | const | 
Returns the used memory since instantiation/last reset.
| void MLMemoryProfile::reset | ( | ) | 
Resets the profile.
      
  | 
  inline | 
Definition at line 59 of file mlMemoryProfile.h.
      
  | 
  inline | 
Definition at line 56 of file mlMemoryProfile.h.
      
  | 
  friend | 
Definition at line 70 of file mlMemoryProfile.h.