Drizzled Public API Documentation

CumulativeStats Class Reference

List of all members.

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 ()
uint64_t getCumulativeSizeBytes ()
int32_t getCumulativeStatsLastValidIndex ()
bool hasOpenUserSlots ()
void sumCurrentScoreboard (Scoreboard *scoreboard, StatusVars *current_status_vars, UserCommands *current_user_commands)

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: