mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:37:45 +00:00
Generate a basic /proc/summary file with some info about all tasks.
This commit is contained in:
parent
ed2422d7af
commit
63e253bac9
5 changed files with 35 additions and 5 deletions
|
@ -45,7 +45,7 @@ public:
|
|||
InlineLinkedList() { }
|
||||
|
||||
bool isEmpty() const { return !m_head; }
|
||||
size_t size() const;
|
||||
size_t sizeSlow() const;
|
||||
void clear();
|
||||
|
||||
T* head() const { return m_head; }
|
||||
|
@ -72,7 +72,7 @@ private:
|
|||
T* m_tail { nullptr };
|
||||
};
|
||||
|
||||
template<typename T> inline size_t InlineLinkedList<T>::size() const
|
||||
template<typename T> inline size_t InlineLinkedList<T>::sizeSlow() const
|
||||
{
|
||||
size_t size = 0;
|
||||
for (T* node = m_head; node; node = node->next())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue