Add heat tampi bench test
This commit is contained in:
		
							parent
							
								
									9ba303f4ed
								
							
						
					
					
						commit
						9dec20d461
					
				| @ -29,4 +29,8 @@ function(openmp_bench_test) | |||||||
|     ENVIRONMENT "NOSV_CONFIG_OVERRIDE=instrumentation.version=ovni,ovni.level=3") |     ENVIRONMENT "NOSV_CONFIG_OVERRIDE=instrumentation.version=ovni,ovni.level=3") | ||||||
| endfunction() | endfunction() | ||||||
| 
 | 
 | ||||||
|  | find_program(B6_HEAT_OMPV_PATH b6_heat_ompv REQUIRED) | ||||||
|  | find_program(B6_HEAT_OMPV_PATH b6_heat_itampi_nodes_tasks REQUIRED) | ||||||
|  | 
 | ||||||
| openmp_bench_test(dummy.c NAME b6_heat_ompv DRIVER b6_heat_ompv.sh) | openmp_bench_test(dummy.c NAME b6_heat_ompv DRIVER b6_heat_ompv.sh) | ||||||
|  | openmp_bench_test(dummy.c NAME b6_heat_itampi_nodes_tasks DRIVER b6_heat_itampi_nodes_tasks.sh) | ||||||
|  | |||||||
							
								
								
									
										22
									
								
								test/bench/openmp/b6_heat_itampi_nodes_tasks.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								test/bench/openmp/b6_heat_itampi_nodes_tasks.sh
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,22 @@ | |||||||
|  | export NOSV_APPID=1 | ||||||
|  | export NOSV_CONFIG_OVERRIDE=instrumentation.version=ovni,ovni.level=2 | ||||||
|  | #export OMP_NUM_THREADS=1 | ||||||
|  | export OMP_OVNI=1 | ||||||
|  | 
 | ||||||
|  | b6_heat_itampi_nodes_tasks -b 128 -t 10 | ||||||
|  | 
 | ||||||
|  | ovnisort ovni | ||||||
|  | ovnitop ovni | ||||||
|  | ovniemu -b ovni | ||||||
|  | 
 | ||||||
|  | # Make sure the trace is not too big (limit at 128 MiB) | ||||||
|  | maxsize=$((128 * 1024 * 1024)) | ||||||
|  | 
 | ||||||
|  | for f in ovni/{cpu,thread}.prv; do | ||||||
|  |   size=$(stat -c %s $f) | ||||||
|  |   if [ $size -lt $maxsize ]; then | ||||||
|  |     echo "$f: size ok ($size < $maxsize)" | ||||||
|  |   else | ||||||
|  |     echo "$f: too big ($size >= $maxsize)" | ||||||
|  |   fi | ||||||
|  | done | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user