mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:37:36 +00:00
Profiler: Move everything into the "Profiler" namespace
This commit is contained in:
parent
d29e2dd2d7
commit
dbbc6096a9
17 changed files with 66 additions and 0 deletions
|
@ -18,6 +18,8 @@
|
|||
#include <LibELF/Image.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
namespace Profiler {
|
||||
|
||||
static void sort_profile_nodes(Vector<NonnullRefPtr<ProfileNode>>& nodes)
|
||||
{
|
||||
quick_sort(nodes.begin(), nodes.end(), [](auto& a, auto& b) {
|
||||
|
@ -459,3 +461,5 @@ const Process* ProfileNode::process(Profile& profile, u64 timestamp) const
|
|||
{
|
||||
return profile.find_process(m_pid, timestamp);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue