MCPcopy Create free account
hub / github.com/KDE/labplot / refreshMemoryInfo

Method refreshMemoryInfo

src/frontend/widgets/MemoryWidget.cpp:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23void MemoryWidget::refreshMemoryInfo() {
24 size_t used = getCurrentRSS() / 1024 / 1024;
25 size_t peak = getPeakRSS() / 1024 / 1024;
26 setText(i18n("Memory used %1 MB, peak %2 MB", used, peak));
27}

Callers

nothing calls this directly

Calls 2

getCurrentRSSFunction · 0.85
getPeakRSSFunction · 0.85

Tested by

no test coverage detected