LogDoctor/logdoctor/utilities/memory.h

25 lines
428 B
C
Raw Permalink Normal View History

#ifndef LOGDOCTOR__UTILITIES__MEMORY_H
#define LOGDOCTOR__UTILITIES__MEMORY_H
//! MemOps
/*!
Utilities for system's memory infos
*/
namespace MemOps
{
namespace{ using size_t = unsigned long; }
//! Returns the available (free) memory in the system
/*!
\return The amount of memory in Bytes
2024-02-09 21:09:42 +01:00
\throw DoNotCatchException
*/
2023-09-16 20:22:12 +02:00
size_t availableMemory();
} // namespace MemOps
#endif // LOGDOCTOR__UTILITIES__MEMORY_H