15 #ifndef __BENCHMARKTOOLS_BENCHMARKUTILS_H__ 16 #define __BENCHMARKTOOLS_BENCHMARKUTILS_H__ 20 #include <boost/date_time/posix_time/posix_time_duration.hpp> 21 #include <boost/filesystem/path.hpp> 50 const std::string& ipAddress,
51 unsigned short nPortNumber,
52 BenchmarkInfo& remoteBenchmarkInfo,
53 const boost::posix_time::time_duration& expiryDuration
66 #endif // __BENCHMARKTOOLS_BENCHMARKUTILS_H__ Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
IPSDKBENCHMARKTOOLS_API BoolResult requestRemoteBenchmarkInfo(const std::string &ipAddress, unsigned short nPortNumber, BenchmarkInfo &remoteBenchmarkInfo, const boost::posix_time::time_duration &expiryDuration)
function reading a BenchmarkInfo from a remote machine through sockets
IPSDKBENCHMARKTOOLS_API void waitForRemoteBenchmarkInfoRequest(unsigned short nPortNumber)
function sending a BenchmarkInfo to a remote machine through sockets
IPSDKBENCHMARKTOOLS_API void initBenchmarck(const std::string &benchmarkName)
function allowing to initialize library benchmark
IPSDKBENCHMARKTOOLS_API void endBenchmarck()
function allowing to end library benchmark
ProcessingResult< bool > BoolResult
typedef for boolean results associated to a string description
Definition: ProcessingResultTypes.h:29
#define IPSDKBENCHMARKTOOLS_API
Import/Export macro for library IPSDKBenchmarkTools.
Definition: IPSDKBenchmarkToolsExports.h:25
Predefined types for processing results management.
IPSDKBENCHMARKTOOLS_API boost::filesystem::path getBenchOutputDir()
function allowing to retrieve benchmark output directory
Definition of import/export macro for library.
IPSDKBENCHMARKTOOLS_API void addBenchResult(const std::string &benchInfoStr, double duration)
function allowing to add a benchmark result