mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
Profiling added
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user