mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-30 20:51:41 +00:00 
			
		
		
		
	 503b917ca5
			
		
	
	503b917ca5
	
	
	
		
			
			Due to internal memory being behind a cache on P4 we need to make sure we do cache write backs when manipulating IRAM over the dcache.
		
			
				
	
	
		
			21 lines
		
	
	
		
			494 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			494 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
 | |
| # SPDX-License-Identifier: CC0-1.0
 | |
| import logging
 | |
| 
 | |
| import pytest
 | |
| from pytest_embedded import Dut
 | |
| 
 | |
| 
 | |
| @pytest.mark.supported_targets
 | |
| @pytest.mark.generic
 | |
| @pytest.mark.parametrize('config', [
 | |
|     'defaults',
 | |
|     'always_skip',
 | |
| ], indirect=True)
 | |
| def test_startup_time_example(dut: Dut) -> None:
 | |
| 
 | |
|     res = dut.expect(r'\((\d+)\) [^:]+: App started!')
 | |
|     time = int(res[1])
 | |
| 
 | |
|     logging.info(f'[Performance][startup_time]: {time}')
 |