Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Namespaces | Functions
sysinfo.hpp File Reference
#include <cstddef>
#include <optional>
+ Include dependency graph for sysinfo.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  sham
 namespace for backends this one is named only sham since shambackends is too long to write
 

Functions

std::optional< std::size_t > sham::getPhysicalMemory ()
 Get the amount of physical memory (RAM) available on the system, in bytes.
 

Detailed Description

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file sysinfo.hpp.