NCBI C++ ToolKit
Classes | Macros | Typedefs | Enumerations | Functions | Variables
timing.hpp File Reference
#include "pubseq_gateway_types.hpp"
#include "psgs_request.hpp"
#include "time_series_stat.hpp"
#include "ipsgs_processor.hpp"
#include <vector>
#include <mutex>
#include <util/data_histogram.hpp>
#include <connect/services/json_over_uttp.hpp>
+ Include dependency graph for timing.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CPSGTimingBase
 
class  CLmdbCacheTiming
 
class  CLmdbResolutionTiming
 
class  CCassTiming
 
class  CMyNCBITiming
 
class  CCassResolutionTiming
 
class  CHugeBlobRetrieveTiming
 
class  CNotFoundBlobRetrieveTiming
 
class  CNARetrieveTiming
 
class  CSplitHistoryRetrieveTiming
 
class  CPublicCommentRetrieveTiming
 
class  CAccVerHistoryRetrieveTiming
 
class  CIPGResolveRetrieveTiming
 
class  CTSEChunkRetrieveTiming
 
class  CNAResolveTiming
 
class  CVDBOpenTiming
 
class  CSNPPTISLookupTiming
 
class  CWGSVDBLookupTiming
 
class  CResolutionTiming
 
class  CBacklogTiming
 
class  CProcessorPerformanceTiming
 
class  CBlobRetrieveTiming
 
class  COperationTiming
 
struct  COperationTiming::SInfo
 

Macros

#define TIMING_CLASS(class_name)
 

Typedefs

typedef CHistogram< uint64_t, uint64_t, uint64_tTOnePSGTiming
 
typedef CHistogramTimeSeries< uint64_t, uint64_t, uint64_tTPSGTiming
 

Enumerations

enum  EPSGOperationStatus { eOpStatusFound , eOpStatusNotFound }
 
enum  EPSGOperation {
  eLookupLmdbSi2csi = 0 , eLookupLmdbBioseqInfo , eLookupLmdbBlobProp , eLookupCassSi2csi ,
  eLookupCassBioseqInfo , eLookupCassBlobProp , eMyNCBIRetrieve , eMyNCBIRetrieveError ,
  eResolutionLmdb , eResolutionCass , eResolutionFoundInCassandra , eSplitHistoryRetrieve ,
  ePublicCommentRetrieve , eAccVerHistRetrieve , eIPGResolveRetrieve , eVDBOpen ,
  eBacklog , eSNP_PTISLookup , eWGS_VDBLookup , eResolutionError ,
  eResolutionNotFound , eResolutionFound , eBlobRetrieve , eNARetrieve ,
  eTseChunkRetrieve , eNAResolve , eOperationLast
}
 

Functions

CJsonNode SerializeHistogram (const TOnePSGTiming &histogram, const string &name, const string &description)
 

Variables

 USING_NCBI_SCOPE
 
const unsigned long kMinStatValue = 0
 
const unsigned long kMaxStatValue = 16 * 1024 * 1024
 
const unsigned long kNStatBins = 24
 
const string kStatScaleType = "log"
 
const unsigned long kTickSpan = 10
 

Macro Definition Documentation

◆ TIMING_CLASS

#define TIMING_CLASS (   class_name)
Value:
class class_name : public CPSGTimingBase \
{ \
public: \
class_name(unsigned long min_stat_value, \
unsigned long max_stat_value, \
unsigned long n_bins, \
bool & reset_to_default); \
}
EScaleType
Scale type.

Definition at line 183 of file timing.hpp.

Typedef Documentation

◆ TOnePSGTiming

Definition at line 116 of file timing.hpp.

◆ TPSGTiming

Definition at line 117 of file timing.hpp.

Enumeration Type Documentation

◆ EPSGOperation

Enumerator
eLookupLmdbSi2csi 
eLookupLmdbBioseqInfo 
eLookupLmdbBlobProp 
eLookupCassSi2csi 
eLookupCassBioseqInfo 
eLookupCassBlobProp 
eMyNCBIRetrieve 
eMyNCBIRetrieveError 
eResolutionLmdb 
eResolutionCass 
eResolutionFoundInCassandra 
eSplitHistoryRetrieve 
ePublicCommentRetrieve 
eAccVerHistRetrieve 
eIPGResolveRetrieve 
eVDBOpen 
eBacklog 
eSNP_PTISLookup 
eWGS_VDBLookup 
eResolutionError 
eResolutionNotFound 
eResolutionFound 
eBlobRetrieve 
eNARetrieve 
eTseChunkRetrieve 
eNAResolve 
eOperationLast 

Definition at line 65 of file timing.hpp.

◆ EPSGOperationStatus

Enumerator
eOpStatusFound 
eOpStatusNotFound 

Definition at line 60 of file timing.hpp.

Function Documentation

◆ SerializeHistogram()

CJsonNode SerializeHistogram ( const TOnePSGTiming histogram,
const string name,
const string description 
)

Variable Documentation

◆ kMaxStatValue

const unsigned long kMaxStatValue = 16 * 1024 * 1024

◆ kMinStatValue

const unsigned long kMinStatValue = 0

◆ kNStatBins

const unsigned long kNStatBins = 24

◆ kStatScaleType

const string kStatScaleType = "log"

◆ kTickSpan

const unsigned long kTickSpan = 10

◆ USING_NCBI_SCOPE

USING_NCBI_SCOPE

Definition at line 47 of file timing.hpp.

Modified on Fri Feb 23 11:46:17 2024 by modify_doxy.py rev. 669887