Skip to content

Commit

Permalink
Clarify EarlyDisplay screen's memory data label and remove offheap te…
Browse files Browse the repository at this point in the history
…xt (#196)
  • Loading branch information
TelepathicGrunt authored Aug 24, 2024
1 parent 76ee6f3 commit a9958a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void update() {
cpuText = String.format("CPU: %.1f%%", cpuLoad * 100f);
}

text = String.format("Heap: %d/%d MB (%.1f%%) OffHeap: %d MB %s", heapusage.getUsed() >> 20, heapusage.getMax() >> 20, memory * 100.0, memoryBean.getNonHeapMemoryUsage().getUsed() >> 20, cpuText);
text = String.format("Memory: %d/%d MB (%.1f%%) %s", heapusage.getUsed() >> 20, heapusage.getMax() >> 20, memory * 100.0, cpuText);
}

String text() {
Expand Down

0 comments on commit a9958a7

Please sign in to comment.