summaryrefslogtreecommitdiff
path: root/Userland/top.cpp
AgeCommit message (Collapse)Author
2019-07-18CProcessStatisticsReader: Be consistent about terminology from the kernel downRobin Burchell
2019-07-17top: Widen "state" field slightly to accomodate "Condition".Andreas Kling
2019-07-10top: Remove some unused code.Andreas Kling
2019-07-10Userland+LibCore: Use CProcessStatisticsReader to implement top.Andreas Kling
Also tweaked CProcessStatisticsReader a bit to simplify the API.
2019-07-03AK: Rename the common integer typedefs to make it obvious what they are.Andreas Kling
These types can be picked up by including <AK/Types.h>: * u8, u16, u32, u64 (unsigned) * i8, i16, i32, i64 (signed)
2019-06-29Kernel: Change the format of /proc/all to JSON.Andreas Kling
Update ProcessManager, top and WSCPUMonitor to handle the new format. Since the kernel is not allowed to use floating-point math, we now compile the JSON classes in AK without JsonValue::Type::Double support. To accomodate large unsigned ints, I added a JsonValue::Type::UnsignedInt.
2019-06-22printf: Oops, '-' is the left padding modifier, not ' '.Andreas Kling
It's kinda funny how I can make a mistake like this in Serenity and then get so used to it by spending lots of time using this API that I start to believe that this is how printf() always worked..
2019-06-07ProcessManager+top: Rename "linear" size to "virtual" size.Andreas Kling
I originally called it "linear" because that's how the Intel manual names virtual addresses in many cases. I'm ready to accept that most people know this as "virtual" so let's just call it that.
2019-06-07Userland: Run clang-format on everything.Andreas Kling
2019-03-09Userland: Use AK::quick_sort() in /bin/topAndreas Kling
2019-02-17Kernel: Remove tracking of bitmap memory.Andreas Kling
There are no more kernel bitmaps. It's much better this way.
2019-02-07Kernel: Add basic process priority support.Andreas Kling
For now, the WindowServer process will run with high priority, while the Finalizer process will run with low priority. Everyone else gets to be "normal". At the moment, priority simply determines the size of your time slices.
2019-02-07Kernel: When a lock is busy, donate remaining process ticks to lock holder.Andreas Kling
Since we know who's holding the lock, and we're gonna have to yield anyway, we can just ask the scheduler to donate any remaining ticks to that process.
2019-02-05Show the amount of memory in GraphicsBitmaps in /bin/top.Andreas Kling
This seems like an extremely relevant metric to track.
2019-02-04Add a /bin/top program for process table monitoring.Andreas Kling
It automagically computes %CPU usage based on the number of times a process has been scheduled between samples. The colonel task is used as idle timer. This is pretty cool. :^)