1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-06 04:07:35 +00:00

ProcessManager+top: Rename "linear" size to "virtual" size.

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.
This commit is contained in:
Andreas Kling 2019-06-07 12:44:29 +02:00
parent 54448b5d24
commit 0ed89440f1
5 changed files with 27 additions and 27 deletions

View file

@ -74,13 +74,13 @@ void CProcessStatisticsReader::update_map(HashMap<pid_t, CProcessStatistics>& ma
process.state = parts[7];
process.name = parts[11];
process.linear = parts[12].to_uint(ok);
process.virtual_size = parts[12].to_uint(ok);
if (!ok) {
fprintf(stderr, "CProcessHelper : couldn't convert %s to a valid amount of linear address space used\n", parts[12].characters());
fprintf(stderr, "CProcessHelper : couldn't convert %s to a valid amount of virtual address space used\n", parts[12].characters());
return;
}
process.physical = parts[13].to_uint(ok);
process.physical_size = parts[13].to_uint(ok);
if (!ok) {
fprintf(stderr, "CProcessHelper : couldn't convert %s to a valid amount of physical address space used\n", parts[13].characters());
return;