GOAT (Geometrical optics application tool) 0.1
Loading...
Searching...
No Matches
mem.h
Go to the documentation of this file.
1#ifndef __MEM__
2#define __MEM__
3#include <iostream>
4namespace GOAT
5{
6 namespace raytracing
7 {
8 typedef struct
9 {
10 long int VmSize;
11 long int VmLck;
12 long int VmRSS;
13 long int VmData;
14 long int VmStk;
15 long int VmExe;
16 long int VmLib;
17 } MemInfo;
18
19 typedef struct
20 {
21 long int total;
22 long int used;
23 long int free;
24 long int shared;
25 long int buffers;
26 long int cached;
27 long int swapTotal;
28 long int swapUsed;
29 long int swapFree;
30 } SysMemInfo;
31
34 std::ostream& operator << (std::ostream &os, SysMemInfo smi);
35 }
36}
37#endif
Raytracer used for ultrashort pulse calculation with raytracing only.
Definition asphericLens.h:6
SysMemInfo sysmem()
MemInfo memstat()
std::ostream & operator<<(std::ostream &os, Box B)
output operator for the Box class
This class is used for the iray class. This class is intended for internal use only....
Definition fresnel.h:7