A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/nc__stat_8cpp.html below:

NCBI C++ ToolKit: src/app/netcache/nc_stat.cpp File Reference

Go to the source code of this file.

Go to the SVN repository for this file.

static const Uint1  kCntStatPeriods = 10   static const char *const  kStatPeriodName [kCntStatPeriods] = {"5s", "1min", "5min", "1h", "1d", "1w", "1mon", "3mon", "1y", "life"}   static Uint1  kCollectPeriodsCnt [kCntStatPeriods] = {0, 12, 5, 12, 24, 7, 31, 3, 4, 0}   static const Uint1  kMinStatPeriod = 5   static const Uint1  kDayPeriodIdx = 4   static const Uint1  kMonthPeriodIdx = 6   static const Uint1  kLifePeriodIdx = 9   static CNCStats_ThreadStat = NULL   static CNCStat **  s_CurPeriodStat = NULL   static CNCStat **  s_PrevPeriodStat = NULL   static CStatRotators_Rotator = NULL   static CMiniMutex  s_RotateLock   static Uint1  s_PeriodsCollected [kCntStatPeriods] = {0}   static int  s_LastRotateSecs = 0   static CMiniMutex  s_CommonStatLock   static set< Uint8s_SyncSrv   static set< Uint8s_UnknownSrv   static TSyncTimes  s_SyncSucceeded   static TSyncTimes  s_SyncFailed   static TDetailedSyncTimes  s_SyncPeriodic   ◆ USE_DETAILED_SLOT_STAT #define USE_DETAILED_SLOT_STAT   1

Definition at line 70 of file nc_stat.cpp.

◆ TDetailedSyncTimes ◆ TSyncTimes ◆ s_CheckTZChange() static void s_CheckTZChange ( void  ) static ◆ s_CollectCurStats() static void s_CollectCurStats ( void  ) static

Definition at line 1141 of file nc_stat.cpp.

References CNCStat::AddAllStats(), CNCStat::CollectThreads(), kCntStatPeriods, kCollectPeriodsCnt, kDayPeriodIdx, kLifePeriodIdx, kMonthPeriodIdx, kStatPeriodName, CNCStat::PrintToLogs(), s_CheckTZChange(), s_CurPeriodStat, s_PeriodsCollected, s_SetCurMonthSize(), and s_ShiftStats().

Referenced by CStatRotator::ExecuteSlice().

◆ s_InitPeriodsCollected() static void s_InitPeriodsCollected ( void  ) static ◆ s_SetCurMonthSize() static void s_SetCurMonthSize ( void  ) static ◆ s_ShiftStats() ◆ s_SizeIndex() ◆ s_Stat()

Definition at line 154 of file nc_stat.cpp.

References CTaskServer::GetCurThreadNum(), and s_ThreadStat.

Referenced by CNCStat::ClientBlobRead(), CNCStat::ClientBlobRollback(), CNCStat::ClientBlobWrite(), CNCStat::ClientDataRead(), CNCStat::ClientDataWrite(), CNCStat::CmdFinished(), CNCStat::CmdStarted(), CNCStat::ConnClosing(), CNCStat::DBFileCleaned(), CNCStat::DiskBlobWrite(), CNCStat::DiskDataRead(), CNCStat::DiskDataWrite(), CNCStat::PeerDataRead(), CNCStat::PeerDataWrite(), CNCStat::PeerSyncFinished(), and CNCStat::SaveCurStateStat().

◆ kCntStatPeriods ◆ kCollectPeriodsCnt ◆ kDayPeriodIdx ◆ kLifePeriodIdx ◆ kMinStatPeriod ◆ kMonthPeriodIdx ◆ kStatPeriodName ◆ s_CommonStatLock ◆ s_CurPeriodStat ◆ s_LastRotateSecs ◆ s_PeriodsCollected ◆ s_PrevPeriodStat ◆ s_RotateLock ◆ s_Rotator ◆ s_SyncFailed ◆ s_SyncPeriodic ◆ s_SyncSrv ◆ s_SyncSucceeded ◆ s_ThreadStat ◆ s_UnknownSrv

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4