summaryrefslogtreecommitdiff
path: root/DevTools/Profiler
AgeCommit message (Collapse)Author
2020-07-04Profiler: Use SortingProxyModel::set_sort_role()Andreas Kling
Use the new API to avoid duplicating code in the RunningProcessesModel.
2020-07-04LibGUI: Turn GUI::Application::the() into a pointerAndreas Kling
During app teardown, the Application object may be destroyed before something else, and so having Application::the() return a reference was obscuring the truth about its lifetime. This patch makes the API more honest by returning a pointer. While this makes call sites look a bit more sketchy, do note that the global Application pointer only becomes null during app teardown.
2020-07-04LibGUI: Make GUI::Application a Core::ObjectAndreas Kling
Having this on the stack makes whole-program teardown iffy. Turning it into a Core::Object allows anyone who needs it to extends its lifetime.
2020-07-02Profiler: Turn the "choose a process" functionality into a GUI::DialogAndreas Kling
This feels a bit nicer and make it possible to reuse this in other places as well. :^)
2020-07-02Profiler: Make the RunningProcessesModel actually sortableAndreas Kling
GUI::TableView looks at data(Model::Role::Sort) to know which order things should be in.
2020-07-01Profiler: Allow specifying a PID to profile with --pidAndreas Kling
2020-07-01Profiler: If run without arguments, let user select process from a listAndreas Kling
We now show a list of running processes that the user can choose from. After choosing one, we start profiling it and show a timer with a stop button that the user has to press to stop profiling.
2020-07-01Profiler: Rename from ProfileViewer :^)Andreas Kling