mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00
WindowServer: Move the CPU usage graph updates to a secondary thread.
This avoids blocking the main thread on filesystem access, which created noticeable stutters during compilation.
This commit is contained in:
parent
a2fe5f8517
commit
56f7b392c1
Notes:
sideshowbarker
2024-07-19 14:55:32 +09:00
Author: https://github.com/awesomekling
Commit: 56f7b392c1
2 changed files with 28 additions and 13 deletions
|
@ -70,6 +70,8 @@ public:
|
|||
ConstIterator begin() const { return ConstIterator(*this, m_head); }
|
||||
ConstIterator end() const { return ConstIterator(*this, size()); }
|
||||
|
||||
int head_index() const { return m_head; }
|
||||
|
||||
private:
|
||||
friend class ConstIterator;
|
||||
T m_elements[Capacity];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue