IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BenchmarkResultInfo.h
1 // BenchmarkResultInfo.h:
3 // ----------------------
4 //
14 
15 #ifndef __BENCHMARKTOOLS_BENCHMARKRESULTINFO_H__
16 #define __BENCHMARKTOOLS_BENCHMARKRESULTINFO_H__
17 
18 // suppression warnings
19 // warning C4251: 'ipsdk::BenchmarkResultInfo::_configDesc' : class 'std::basic_string<_Elem,_Traits,_Ax>' needs to have dll-interface to be used by clients of class 'ipsdk::BenchmarkResultInfo'
20 #pragma warning (push)
21 #pragma warning (disable : 4251)
22 
24 #include <IPSDKSerialization/Engine/BaseSerializationObject.h>
25 
26 namespace ipsdk {
27 namespace bench {
28 
31 
33 {
34  // declare serial class
36 
37 public:
43 
44 // methods
45 public:
47  void init(const std::string& benchInfoStr,
48  double duration);
49 
50 // attributes
51 protected:
53  std::string _benchInfoStr;
54 
56  double _duration;
57 };
58 
61 
62 } // end of namespace bench
63 } // end of namespace ipsdk
64 
65 #pragma warning (pop)
66 
67 #endif // __BENCHMARKTOOLS_BENCHMARKRESULTINFO_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
#define IPSDK_DECLARE_SERIAL_WITHOUT_COPY(libraryName, className)
macro enabling serialization on class
Definition: SerializationHdrMacro.h:79
Benchmark result information.
Definition: BenchmarkResultInfo.h:32
std::string _benchInfoStr
benchmark configuration description
Definition: BenchmarkResultInfo.h:53
#define IPSDKBENCHMARKTOOLS_API
Import/Export macro for library IPSDKBenchmarkTools.
Definition: IPSDKBenchmarkToolsExports.h:25
double _duration
benchmark duration
Definition: BenchmarkResultInfo.h:56
Base class for serializable class.
Definition: BaseSerializationObject.h:33
Definition of import/export macro for library.