mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:22:44 +00:00 
			
		
		
		
	Profiler: Remove ability to filter Kernel::Scheduler::yield() frames
Hiding those frames doesn't really make sense. They're a major contributor to a process' spent CPU time and show up in a lot of profiles. That however is because those processes really do spend quite a bit of time in the scheduler by doing lots of context switches, like WindowServer when responding to IPC calls. Instead of hiding these for aesthetic reasons we should instead improve the scheduler.
This commit is contained in:
		
							parent
							
								
									7dc77bd833
								
							
						
					
					
						commit
						6ac1ca5a9a
					
				
					 4 changed files with 0 additions and 34 deletions
				
			
		|  | @ -209,15 +209,6 @@ int main(int argc, char** argv) | |||
|     percent_action->set_checked(false); | ||||
|     view_menu.add_action(percent_action); | ||||
| 
 | ||||
|     auto scheduler_action = GUI::Action::create_checkable("Show &Context Switches", { Mod_Ctrl, Key_C }, [&](auto& action) { | ||||
|         profile->set_show_scheduler(action.is_checked()); | ||||
|         tree_view.update(); | ||||
|         disassembly_view.update(); | ||||
|         timeline_container.update(); | ||||
|     }); | ||||
|     scheduler_action->set_checked(true); | ||||
|     view_menu.add_action(scheduler_action); | ||||
| 
 | ||||
|     auto& help_menu = menubar->add_menu("&Help"); | ||||
|     help_menu.add_action(GUI::CommonActions::make_help_action([](auto&) { | ||||
|         Desktop::Launcher::open(URL::create_with_file_protocol("/usr/share/man/man1/Profiler.md"), "/bin/Help"); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Gunnar Beutner
						Gunnar Beutner