summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-28 08:25:05 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-28 08:25:53 +0100
commitb72f067f0daac88ebe66e3f714e517b995b48e7b (patch)
treea7a124e831ef9ec537f71614e3957f2b580735fa /Userland/Libraries/LibCore
parentaaf691c4efc1e43e83f13cdf403f69d89f889d38 (diff)
downloadserenity-b72f067f0daac88ebe66e3f714e517b995b48e7b.zip
Kernel+Userland: Remove unused "effective priority" from threads
This has been merged with the regular Thread::priority field after the recent changes to the scheduler.
Diffstat (limited to 'Userland/Libraries/LibCore')
-rw-r--r--Userland/Libraries/LibCore/ProcessStatisticsReader.cpp1
-rw-r--r--Userland/Libraries/LibCore/ProcessStatisticsReader.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/Userland/Libraries/LibCore/ProcessStatisticsReader.cpp b/Userland/Libraries/LibCore/ProcessStatisticsReader.cpp
index 566053d3af..69a723eab2 100644
--- a/Userland/Libraries/LibCore/ProcessStatisticsReader.cpp
+++ b/Userland/Libraries/LibCore/ProcessStatisticsReader.cpp
@@ -97,7 +97,6 @@ Optional<HashMap<pid_t, Core::ProcessStatistics>> ProcessStatisticsReader::get_a
thread.ticks_kernel = thread_object.get("ticks_kernel").to_u32();
thread.cpu = thread_object.get("cpu").to_u32();
thread.priority = thread_object.get("priority").to_u32();
- thread.effective_priority = thread_object.get("effective_priority").to_u32();
thread.syscall_count = thread_object.get("syscall_count").to_u32();
thread.inode_faults = thread_object.get("inode_faults").to_u32();
thread.zero_faults = thread_object.get("zero_faults").to_u32();
diff --git a/Userland/Libraries/LibCore/ProcessStatisticsReader.h b/Userland/Libraries/LibCore/ProcessStatisticsReader.h
index b6e506cd9d..9c574229c7 100644
--- a/Userland/Libraries/LibCore/ProcessStatisticsReader.h
+++ b/Userland/Libraries/LibCore/ProcessStatisticsReader.h
@@ -51,7 +51,6 @@ struct ThreadStatistics {
String state;
u32 cpu;
u32 priority;
- u32 effective_priority;
String name;
};