Boost removal from performance server
[platform/core/uifw/dali-adaptor.git] / adaptors / base / performance-logging / performance-server.h
index 40a495e..8c71900 100644 (file)
  *
  */
 
-// EXTERNAL INCLUDES
-#include <boost/thread/mutex.hpp>
+// EXTERNAL INCLDUES
 #include <dali/public-api/common/dali-vector.h>
+#include <dali/devel-api/common/mutex.h>
 
 // INTERNAL INCLUDES
 #include <base/performance-logging/frame-time-stats.h>
+#include <base/performance-logging/networking/network-performance-server.h>
 #include <base/interfaces/adaptor-internal-services.h>
 #include <base/performance-logging/performance-marker.h>
 #include <base/performance-logging/statistics/stat-context-manager.h>
@@ -118,11 +119,14 @@ private:
 
   Integration::PlatformAbstraction& mPlatformAbstraction; ///< platform abstraction
   const EnvironmentOptions& mEnvironmentOptions;          ///< environment options
-  KernelTraceInterface& mKernelTrace;                     ///< kernel trace interface
-  boost::mutex mDataMutex;                                ///< mutex
+  TraceInterface& mKernelTrace;                           ///< kernel trace interface
+  TraceInterface& mSystemTrace;                           ///< system trace interface
+  Dali::Mutex mLogMutex;                                  ///< mutex
+  NetworkPerformanceServer mNetworkServer;                ///< network server
   StatContextManager mStatContextManager;                 ///< Stat context manager
   unsigned int mStatisticsLogBitmask;                     ///< statistics log level
   unsigned int mPerformanceOutputBitmask;                 ///< performance marker output
+  bool mNetworkControlEnabled:1;                          ///< Whether network control is enabled
   bool mLoggingEnabled:1;                                 ///< whether logging update / render to a log is enabled
   bool mLogFunctionInstalled:1;                           ///< whether the log function is installed
 };