Skip to content
This repository was archived by the owner on Jul 27, 2022. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VoltAir/Engine/utils/DebugMetricsMonitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void DebugMetricsMonitor::updateMemoryUsage() {
// Memory info prints number of resident 4KB memory pages in the second column
// See: http://man7.org/linux/man-pages/man5/proc.5.html
// NOTE: This number is not accurate past the nearest 4KB.
mMemoryUsage = procInfo.split("\\s")[1].toLong() * 4 * 1000;
mMemoryUsage = procInfo.split(QRegExp("\\s"))[1].toLong() * 4 * 1000;
#endif

if (mLoggingMetrics) {
Expand Down