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/ncbi__misc_8hpp_source.html below:

NCBI C++ ToolKit: include/connect/ncbi_misc.hpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef CONNECT___NCBI_MISC__HPP 2 #define CONNECT___NCBI_MISC__HPP 58  typedef

pair<Uint8, double>

TMark

;

75

: kMinSpan(minspan), kMaxSpan(minspan > maxspan ?

76

minspan + maxspan : maxspan),

78

m_Rate(0.0), m_Size(0)

88  Uint8

GetPos (

void

)

const

;

91  double

GetTime(

void

)

const

;

98  void

Mark(

Uint8

pos,

double

time);

104  double

GetRate(

void

)

const

;

109  double

GetPace(

void

)

const

;

114  double

GetETA (

void

)

const

;

119  double

GetTimeRemaining(

void

)

const

;

156

? double(

m_Data

.front().first) /

m_Data

.front().second

uint64_t Uint8

8-byte (64-bit) unsigned integer

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

CRateMonitor(double minspan=0.5, double maxspan=10.0, double weight=0.5, double precision=0.95)

Monitor position progressing in time, calculate speed and estimate time to complete the job (when the...

double GetTime(void) const

Get current time (time 0.0 when job starts)

Uint8 GetSize(void) const

Get size previously set.

pair< Uint8, double > TMark

Uint8 GetPos(void) const

Get current progress position (position 0 when job starts)

Uint8 m_Size

Total size of job to be performed.

void SetSize(Uint8 size)

Set size of the anticipated job, clear all prior measurements.

list< TMark > m_Data

Measurements as submitted by Mark()

double GetPace(void) const

How fast the average pace has been so far, in positions per time unit.

double m_Rate

Cached rate from last calculation.

#define NCBI_XCONNECT_EXPORT

const struct ncbi::grid::netcache::search::fields::SIZE size

The NCBI C++/STL use hints.

Defines Limits for the types used in NCBI C/C++ toolkit.


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