Skip to content

Available memory for Linux - #40

Merged
kmokstad merged 5 commits into
openfedem:mainfrom
kmokstad:profiler
Jan 19, 2026
Merged

Available memory for Linux#40
kmokstad merged 5 commits into
openfedem:mainfrom
kmokstad:profiler

Conversation

@kmokstad

Copy link
Copy Markdown

This implements the FFaMemoryProfiler::getGlobalMem() method also for Linux (using the sysinfo() function).
The memory inquiry methods are now available also when the USE_PROFILER flag is OFF when building the Kernel.
Some minor refactor of FFaProfiler and FFaMemoryProfiler in addition.
Bumping patch version for next release R8.1.3.

kmokstad and others added 5 commits January 19, 2026 15:46
Replace static class FFaMemoryProfiler by a namespace
and place the MemoryStruct inside it.
Remove the virtual destructor and put WallTime() and CPUTime() functions
in anonymous namespace.
Add library FFaMemory containing the memory profiler only,
if USE_PROFILER is OFF.
@kmokstad
kmokstad merged commit c22a7f2 into openfedem:main Jan 19, 2026
1 check passed
@kmokstad
kmokstad deleted the profiler branch January 19, 2026 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant