Function to calculate the memory available for malloc

Dependents:   AvailableMemory_HelloWorld MCBBThermostat helloaabbc SP14P1_skeleton

AvailableMemory.h

Committer:
segundo
Date:
2010-11-07
Revision:
0:a98bf0c96bf1
Child:
1:d8432d8a5b6d

File content as of revision 0:a98bf0c96bf1:

#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