Drizzled Public API Documentation

CumulativeStats Class Reference

Public Member Functions

 CumulativeStats (uint32_t in_cumulative_stats_by_user_max)
 
void logUserStats (ScoreboardSlot *scoreboard_slot, bool reserveSlot)
 
void logGlobalStats (ScoreboardSlot *scoreboard_slot)
 
void logGlobalStatusVars (ScoreboardSlot *scoreboard_slot)
 
std::vector< ScoreboardSlot * > * getCumulativeStatsByUserVector ()
 
GlobalStatsgetGlobalStats ()
 
StatusVarsgetGlobalStatusVars ()
 
int32_t getCumulativeStatsByUserMax () const
 
uint64_t getCumulativeSizeBytes () const
 
int32_t getCumulativeStatsLastValidIndex () const
 
bool hasOpenUserSlots () const
 
void sumCurrentScoreboard (Scoreboard *, StatusVars *, UserCommands *)
 

Private Attributes

std::vector< ScoreboardSlot * > * cumulative_stats_by_user_vector
 
GlobalStatsglobal_stats
 
StatusVarsglobal_status_vars
 
uint64_t cumulative_size_bytes
 
int32_t cumulative_stats_by_user_max
 
drizzled::atomic< int32_t > last_valid_index
 
bool isOpenUserSlots
 

Detailed Description

Definition at line 42 of file cumulative_stats.h.


The documentation for this class was generated from the following files: