Macaulay2 Engine
Loading...
Searching...
No Matches
memory-status.hpp File Reference

Placeholder memory-statistics hooks: memorystat1 / memorystat2 / memorystat3. More...

Go to the source code of this file.

Functions

int memorystat1 (void)
int memorystat2 (void)
int memorystat3 (void)

Detailed Description

Placeholder memory-statistics hooks: memorystat1 / memorystat2 / memorystat3.

Note
AI-generated documentation. Verify against the source before relying on it.

Declares three unimplemented int-returning functions whose definitions in memory-status.cpp return distinct sentinel constants (123, 1234, 12345). The names are referenced from the interpreter side by rawMemoryUsageStatus in d/interface.dd, which returns a hash with the placeholder keys "foo" / "bar" / "foobar" — a deliberate signal that no real engine-wide memory accounting has been wired in yet. The file exists so the link line keeps working while the real implementation is deferred.

See also
mem.hpp

Definition in file memory-status.hpp.