Function to calculate the memory available for malloc
Dependents: AvailableMemory_HelloWorld MCBBThermostat helloaabbc SP14P1_skeleton
Diff: AvailableMemory.h
- Revision:
- 0:a98bf0c96bf1
- Child:
- 1:d8432d8a5b6d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/AvailableMemory.h Sun Nov 07 19:11:52 2010 +0000 @@ -0,0 +1,15 @@ +#ifndef SEGUNDO_UTILITIES_AVAILABLEMEMORY_H +#define SEGUNDO_UTILITIES_AVAILABLEMEMORY_H + +namespace segundo { +namespace Utilities { + +int AvailableMemory(); +int AvailableMemory(int resolution, int maximum, bool disableInterrupts); + +} // namespace Utilities +} // namespace segundo + +using namespace segundo::Utilities; + +#endif // SEGUNDO_UTILITIES_AVAILABLEMEMORY_H \ No newline at end of file