mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:52:45 +00:00 
			
		
		
		
	SystemMonitor: Only show two decimal digits for the CPU usage
This commit is contained in:
		
							parent
							
								
									ac0e387beb
								
							
						
					
					
						commit
						0eedf3bfea
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -276,7 +276,7 @@ GUI::Variant ProcessModel::data(const GUI::ModelIndex& index, GUI::ModelRole rol | |||
|         case Column::PurgeableNonvolatile: | ||||
|             return pretty_byte_size(thread.current_state.amount_purgeable_nonvolatile); | ||||
|         case Column::CPU: | ||||
|             return thread.current_state.cpu_percent; | ||||
|             return String::formatted("{:.2}", thread.current_state.cpu_percent); | ||||
|         case Column::Processor: | ||||
|             return thread.current_state.cpu; | ||||
|         case Column::Name: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling