12 #ifndef __NET_WEBSTATSMANAGER_H__
13 #define __NET_WEBSTATSMANAGER_H__
30 void updateProcess(
fpreal amount);
31 void updateQueueWait(
fpreal amount);
34 inline bool isEnabled()
const {
return myIsEnabled; }
46 void fail(
const hboost::system::error_code& ec,
const char* what);
48 void startLogTimer_();
49 void onLogStats_(
const hboost::system::error_code& ec);
60 bool myIsEnabled =
false;
63 #endif // __NET_WEBSTATSMANAGER_H__
SYS_AtomicInt32 myWaitingCount
SYS_AtomicInt32 myWriteCount
void setEnabled(bool enabled)
SYS_AtomicInt32 myRequestCount
GLenum GLenum GLsizei const GLuint GLboolean enabled
std::optional< T > UT_Optional
Simple holder for statistics relating to the web server.
hboost::asio::io_context ASIO_IOContext
SYS_AtomicInt32 myTotalCount
SYS_AtomicInt32 myReadCount
SYS_AtomicInt32 myActiveConnections