Definition at line 38 of file scoreboard.h.
◆ Scoreboard()
| Scoreboard::Scoreboard |
( |
uint32_t | in_number_sessions, |
|
|
uint32_t | in_number_buckets ) |
◆ ~Scoreboard()
| Scoreboard::~Scoreboard |
( |
| ) |
|
◆ findOurScoreboardSlot()
Finds the ScoreboardSlot for a given session. This function differs from findAndResetScoreboardSlot() as it returns the actual pointer rather then a copy. Its possible that values could be changed in the underlying status variables, callers should beware.
Definition at line 149 of file scoreboard.cc.
◆ findScoreboardSlotToLog()
Locates a ScoreboardSlot that is not in use, marks the slot as being used and returns a pointer to it. The caller can update individual statistics via the pointer without having to lock or worry about concurrent updates.
- Parameters
-
- Returns
- Pointer to the ScoreboardSlot whose individual statistics can be updated
Definition at line 110 of file scoreboard.cc.
◆ getBucketNumber()
◆ getNumberBuckets()
| uint32_t Scoreboard::getNumberBuckets |
( |
| ) |
const |
|
inline |
◆ getNumberPerBucket()
| uint32_t Scoreboard::getNumberPerBucket |
( |
| ) |
const |
|
inline |
◆ getScoreboardSizeBytes()
| uint64_t Scoreboard::getScoreboardSizeBytes |
( |
| ) |
const |
|
inline |
◆ getVectorOfScoreboardLocks()
| std::vector< boost::shared_mutex * > * Scoreboard::getVectorOfScoreboardLocks |
( |
| ) |
|
|
inline |
◆ getVectorOfScoreboardVectors()
| std::vector< std::vector< ScoreboardSlot * > * > * Scoreboard::getVectorOfScoreboardVectors |
( |
| ) |
|
|
inline |
◆ number_buckets
| uint32_t Scoreboard::number_buckets |
|
private |
◆ number_per_bucket
| uint32_t Scoreboard::number_per_bucket |
|
private |
◆ number_sessions
| uint32_t Scoreboard::number_sessions |
|
private |
◆ scoreboard_size_bytes
| uint64_t Scoreboard::scoreboard_size_bytes |
|
private |
◆ vector_of_scoreboard_locks
| std::vector<boost::shared_mutex*> Scoreboard::vector_of_scoreboard_locks |
|
private |
◆ vector_of_scoreboard_vectors
| std::vector<std::vector<ScoreboardSlot*>*> Scoreboard::vector_of_scoreboard_vectors |
|
private |
The documentation for this class was generated from the following files: