Print runtime as a float
							parent
							
								
									4d9a4c573c
								
							
						
					
					
						commit
						d22c0281df
					
				| 
						 | 
				
			
			@ -9,7 +9,7 @@ IN: tools.time
 | 
			
		|||
 | 
			
		||||
: time. ( data -- )
 | 
			
		||||
    unclip
 | 
			
		||||
    "==== RUNNING TIME" print nl pprint " us" print nl
 | 
			
		||||
    "==== RUNNING TIME" print nl 1000000 /f pprint " seconds" print nl
 | 
			
		||||
    4 cut*
 | 
			
		||||
    "==== GARBAGE COLLECTION" print nl
 | 
			
		||||
    [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue