| 1 |
|
#ifndef UTILS_PHYSMEM_H |
| 2 |
|
#define UTILS_PHYSMEM_H |
| 3 |
|
|
| 4 |
< |
/** Return the total amount of physical memory. */ |
| 5 |
< |
double physmem_total (); |
| 4 |
> |
#ifdef __cplusplus |
| 5 |
> |
extern "C" { |
| 6 |
> |
#endif |
| 7 |
|
|
| 8 |
< |
/** Return the amount of physical memory available. */ |
| 9 |
< |
double physmem_available (); |
| 8 |
> |
/** Return the total amount of physical memory. */ |
| 9 |
> |
double physmem_total (void); |
| 10 |
|
|
| 11 |
+ |
/** Return the amount of physical memory available. */ |
| 12 |
+ |
double physmem_available (void); |
| 13 |
+ |
|
| 14 |
+ |
#ifdef __cplusplus |
| 15 |
+ |
} |
| 16 |
|
#endif |
| 17 |
+ |
|
| 18 |
+ |
#endif |