forked from eden-emu/eden
		
	Core Timing: Correct Idle and remove lefting pragma
This commit is contained in:
		
							parent
							
								
									65aff6930b
								
							
						
					
					
						commit
						96f2b16356
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -13,8 +13,6 @@ | |||
| #include "common/thread.h" | ||||
| #include "core/core_timing_util.h" | ||||
| 
 | ||||
| #pragma optoimize("", off) | ||||
| 
 | ||||
| namespace Core::Timing { | ||||
| 
 | ||||
| constexpr int MAX_SLICE_LENGTH = 10000; | ||||
|  | @ -222,6 +220,7 @@ void CoreTiming::ResetRun() { | |||
| } | ||||
| 
 | ||||
| void CoreTiming::Idle() { | ||||
|     accumulated_ticks += downcounts[current_context]; | ||||
|     idled_cycles += downcounts[current_context]; | ||||
|     downcounts[current_context] = 0; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Fernando Sahmkow
						Fernando Sahmkow