|  | @@ -3584,6 +3584,7 @@ tor_main(int argc, char *argv[])
 | 
	
		
			
				|  |  |    update_approx_time(time(NULL));
 | 
	
		
			
				|  |  |    tor_threads_init();
 | 
	
		
			
				|  |  |    init_logging(0);
 | 
	
		
			
				|  |  | +  monotime_init();
 | 
	
		
			
				|  |  |  #ifdef USE_DMALLOC
 | 
	
		
			
				|  |  |    {
 | 
	
		
			
				|  |  |      /* Instruct OpenSSL to use our internal wrappers for malloc,
 | 
	
	
		
			
				|  | @@ -3617,8 +3618,6 @@ tor_main(int argc, char *argv[])
 | 
	
		
			
				|  |  |  #endif
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  monotime_init();
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |    switch (get_options()->command) {
 | 
	
		
			
				|  |  |    case CMD_RUN_TOR:
 | 
	
		
			
				|  |  |  #ifdef NT_SERVICE
 |