ignore None in timings (from when the OMP_NUM_THREADS is not set)
This commit is contained in:
		
							parent
							
								
									12e1c98f6f
								
							
						
					
					
						commit
						62c029ee4d
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -7,6 +7,7 @@ threads, timings = [], [] | ||||||
| for file in os.listdir('timings'): | for file in os.listdir('timings'): | ||||||
|     with open(f'timings/{file}', 'r') as f: |     with open(f'timings/{file}', 'r') as f: | ||||||
|         n, t = f.read().strip().split(',') |         n, t = f.read().strip().split(',') | ||||||
|  |         if n != 'None': | ||||||
|             threads.append(int(n)) |             threads.append(int(n)) | ||||||
|             timings.append(float(t)) |             timings.append(float(t)) | ||||||
| threads = np.array(threads) | threads = np.array(threads) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue