mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	Profiling added
This commit is contained in:
		
							parent
							
								
									3f4bd13091
								
							
						
					
					
						commit
						a6f78134c0
					
				
					 7 changed files with 59 additions and 6 deletions
				
			
		
							
								
								
									
										19
									
								
								Profiling.cpp
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								Profiling.cpp
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,19 @@
 | 
			
		|||
#include <boost/property_tree/ptree.hpp>
 | 
			
		||||
#include <boost/property_tree/ini_parser.hpp>
 | 
			
		||||
#include "Profiling.h"
 | 
			
		||||
 | 
			
		||||
namespace i2p
 | 
			
		||||
{
 | 
			
		||||
namespace data
 | 
			
		||||
{
 | 
			
		||||
	RouterProfile::RouterProfile (const IdentHash& identHash):
 | 
			
		||||
		m_IdentHash (identHash), m_NumTunnelsAgreed (0), m_NumTunnelsDeclined (0)
 | 
			
		||||
	{
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	std::shared_ptr<RouterProfile> GetProfile (const IdentHash& identHash)
 | 
			
		||||
	{
 | 
			
		||||
		return std::make_shared<RouterProfile> (identHash);
 | 
			
		||||
	}		
 | 
			
		||||
}		
 | 
			
		||||
}	
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue