Operations for manipulating the lock statistics abstracting whether they are atomic or not.
More...
#include <lock_stats.h>
Operations for manipulating the lock statistics abstracting whether they are atomic or not.
|
static int64_t | get (const int64_t &counter) |
|
static int64_t | get (const AtomicInt64 &counter) |
|
static void | set (int64_t &counter, int64_t value) |
|
static void | set (AtomicInt64 &counter, int64_t value) |
|
static void | add (int64_t &counter, int64_t value) |
|
static void | add (int64_t &counter, const AtomicInt64 &value) |
|
static void | add (AtomicInt64 &counter, int64_t value) |
|
◆ add() [1/3]
static void mongo::CounterOps::add |
( |
int64_t & |
counter, |
|
|
int64_t |
value |
|
) |
| |
|
inlinestatic |
◆ add() [2/3]
static void mongo::CounterOps::add |
( |
int64_t & |
counter, |
|
|
const AtomicInt64 & |
value |
|
) |
| |
|
inlinestatic |
◆ add() [3/3]
static void mongo::CounterOps::add |
( |
AtomicInt64 & |
counter, |
|
|
int64_t |
value |
|
) |
| |
|
inlinestatic |
◆ get() [1/2]
static int64_t mongo::CounterOps::get |
( |
const int64_t & |
counter | ) |
|
|
inlinestatic |
◆ get() [2/2]
static int64_t mongo::CounterOps::get |
( |
const AtomicInt64 & |
counter | ) |
|
|
inlinestatic |
◆ set() [1/2]
static void mongo::CounterOps::set |
( |
int64_t & |
counter, |
|
|
int64_t |
value |
|
) |
| |
|
inlinestatic |
◆ set() [2/2]
static void mongo::CounterOps::set |
( |
AtomicInt64 & |
counter, |
|
|
int64_t |
value |
|
) |
| |
|
inlinestatic |
The documentation for this struct was generated from the following file:
- /home/louis/git/mongodbsource.github.io/src/src/mongo/db/concurrency/lock_stats.h