Mantid
Loading...
Searching...
No Matches
Namespaces | Functions
Memory.cpp File Reference
#include "MantidKernel/Memory.h"
#include "MantidKernel/Logger.h"
#include "MantidKernel/System.h"
#include <cstdio>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::Kernel
 

Functions

template<typename TYPE >
string Mantid::Kernel::memToString (const TYPE mem_in_kiB)
 Utility function to convert memory in kiB into easy to read units. More...
 
template DLLExport string Mantid::Kernel::memToString< uint32_t > (const uint32_t)
 
template DLLExport string Mantid::Kernel::memToString< uint64_t > (const uint64_t)
 
MANTID_KERNEL_DLL std::ostream & Mantid::Kernel::operator<< (std::ostream &out, const MemoryStats &stats)
 Convenience function for writting out to stream. More...
 
void Mantid::Kernel::process_mem_usage (size_t &vm_usage, size_t &resident_set)
 Attempts to read the system-dependent data for a process' virtual memory size and resident set size, and return the results in KB. More...