1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 12:07:44 +00:00
serenity/Userland/Applications/SystemMonitor
Luke Wilde caf652799f SystemMonitor: Consistently use u64 for ValueFormat::text_formatter
ValueFormat::text_formatter is called with a u64 retrieved from
GraphWidget::m_values. However, the function pointer definition used
size_t and all the users of text_formatter used int.  If bytes was over
~2 billion, we would interpret bytes to be negative. We then pass this
into `human_readable_size` which converts it to a u64, making it out to
be about 15.9 EiB.

This is fixed by making everything in the path take a u64.
2022-05-05 21:25:04 +02:00
..
CMakeLists.txt SystemMonitor: Move process window to GML 2022-04-03 12:21:05 +02:00
GraphWidget.cpp LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
GraphWidget.h SystemMonitor: Consistently use u64 for ValueFormat::text_formatter 2022-05-05 21:25:04 +02:00
main.cpp SystemMonitor: Consistently use u64 for ValueFormat::text_formatter 2022-05-05 21:25:04 +02:00
MemoryStatsWidget.cpp LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
MemoryStatsWidget.h SystemMonitor: Register a graph_widget pseudo-property in MemoryStatsW 2022-04-03 12:21:05 +02:00
NetworkStatisticsWidget.cpp SystemMonitor: Move NetworkStatisticsWidget into namespace + register it 2022-04-03 12:21:05 +02:00
NetworkStatisticsWidget.h SystemMonitor: Move NetworkStatisticsWidget into namespace + register it 2022-04-03 12:21:05 +02:00
ProcessFileDescriptorMapWidget.cpp SystemMonitor: Move process window to GML 2022-04-03 12:21:05 +02:00
ProcessFileDescriptorMapWidget.h SystemMonitor: Move process window to GML 2022-04-03 12:21:05 +02:00
ProcessMemoryMapWidget.cpp SystemMonitor: Move process window to GML 2022-04-03 12:21:05 +02:00
ProcessMemoryMapWidget.h SystemMonitor: Move process window to GML 2022-04-03 12:21:05 +02:00
ProcessModel.cpp SystemMonitor: Fallback to invalid model index if there's no main thread 2022-04-06 22:41:54 +02:00
ProcessModel.h SystemMonitor: Default initialize all thread state variables 2022-04-06 22:41:54 +02:00
ProcessStateWidget.cpp LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
ProcessStateWidget.h SystemMonitor: Move process window to GML 2022-04-03 12:21:05 +02:00
ProcessUnveiledPathsWidget.cpp SystemMonitor: Move process window to GML 2022-04-03 12:21:05 +02:00
ProcessUnveiledPathsWidget.h SystemMonitor: Move process window to GML 2022-04-03 12:21:05 +02:00
ProcessWindow.gml SystemMonitor: Move process window to GML 2022-04-03 12:21:05 +02:00
SystemMonitor.gml SystemMonitor: Display processes and their threads in a tree :^) 2022-04-06 12:47:50 +02:00
ThreadStackWidget.cpp LibCore: Remove main event loop 2022-04-27 11:54:37 +02:00
ThreadStackWidget.h SystemMonitor: Move process window to GML 2022-04-03 12:21:05 +02:00