mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 13:30:52 -05:00 
			
		
		
		
	More minor cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4914 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									88eb165e4c
								
							
						
					
					
						commit
						2557fa39f2
					
				@ -43,8 +43,8 @@ program timefft
 | 
			
		||||
  iters=100
 | 
			
		||||
 | 
			
		||||
  write(*,1000) 
 | 
			
		||||
1000 format('Problem  Threads Plan    Time    Gflops     RMS'/    &
 | 
			
		||||
            '--------------------------------------------------')
 | 
			
		||||
1000 format(/'Problem  Threads Plan    Time    Gflops     RMS   iters'/    &
 | 
			
		||||
             '--------------------------------------------------------')
 | 
			
		||||
 | 
			
		||||
! Try nthreads = 1,maxthreads
 | 
			
		||||
  do nthreads=1,maxthreads
 | 
			
		||||
@ -118,8 +118,8 @@ program timefft
 | 
			
		||||
     rms=sqrt(sq/nfft)
 | 
			
		||||
 | 
			
		||||
! Display results
 | 
			
		||||
     write(*,1050) problem,nthreads,tplan,time,gflops,rms
 | 
			
		||||
1050 format(a9,i4,f8.3,f10.6,f7.2,f11.7)
 | 
			
		||||
     write(*,1050) problem,nthreads,tplan,time,gflops,rms,iter
 | 
			
		||||
1050 format(a9,i4,f8.3,f10.6,f7.2,f11.7,i5)
 | 
			
		||||
  enddo
 | 
			
		||||
 | 
			
		||||
! Export accumulated FFTW wisdom
 | 
			
		||||
@ -128,8 +128,10 @@ program timefft
 | 
			
		||||
! Clean up
 | 
			
		||||
  call fftwf_destroy_plan(plan1)
 | 
			
		||||
  call fftwf_destroy_plan(plan2)
 | 
			
		||||
  call fftwf_free(pa)
 | 
			
		||||
  call fftwf_free(pb)
 | 
			
		||||
  call fftwf_free(pc)
 | 
			
		||||
  call fftwf_cleanup()
 | 
			
		||||
  call fftwf_cleanup_threads()
 | 
			
		||||
  call fftwf_cleanup()
 | 
			
		||||
 | 
			
		||||
end program timefft
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user