CernVM-FS
2.12.0
|
#include <statistics.h>
Public Member Functions | |
void | Tick () |
void | TickAt (uint64_t timestamp) |
uint64_t | GetNoTicks (uint32_t retrospect_s) const |
void | AddRecorder (uint32_t resolution_s, uint32_t capacity_s) |
Private Attributes | |
std::vector< Recorder > | recorders_ |
Writes to multiple recorders. Recorders with coarsed-grained resolution and a large capacity are combined with precise recorders with shorter capacity. Preferred recorders should be added first because GetNoTicks will use the first recorder with a capacity >= retrospect_s (or the last recorder).
Definition at line 228 of file statistics.h.
void perf::MultiRecorder::AddRecorder | ( | uint32_t | resolution_s, |
uint32_t | capacity_s | ||
) |
Definition at line 267 of file statistics.cc.
Referenced by PosixQuotaManager::PosixQuotaManager().
uint64_t perf::MultiRecorder::GetNoTicks | ( | uint32_t | retrospect_s | ) | const |
Definition at line 272 of file statistics.cc.
Referenced by PosixQuotaManager::MainCommandServer().
void perf::MultiRecorder::Tick | ( | ) |
void perf::MultiRecorder::TickAt | ( | uint64_t | timestamp | ) |
Definition at line 292 of file statistics.cc.
Referenced by Tick().
|
private |
Definition at line 237 of file statistics.h.
Referenced by AddRecorder(), GetNoTicks(), Tick(), and TickAt().