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

Profiler: Move filter checks into their own function

This commit is contained in:
Gunnar Beutner 2021-05-07 13:48:32 +02:00 committed by Andreas Kling
parent 00de3b53c8
commit 2d6091be10
2 changed files with 11 additions and 4 deletions

View file

@ -174,6 +174,7 @@ public:
void set_process_filter(pid_t pid, u64 start_valid, u64 end_valid);
void clear_process_filter();
bool has_process_filter() const { return m_has_process_filter; }
bool process_filter_contains(pid_t pid, u32 timestamp);
bool is_inverted() const { return m_inverted; }
void set_inverted(bool);