Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Functions
as_latency.h File Reference
#include <aerospike/as_atomic.h>
+ Include dependency graph for as_latency.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  as_latency_buckets
 

Macros

#define AS_LATENCY_TYPE_BATCH   3
 
#define AS_LATENCY_TYPE_CONN   0
 
#define AS_LATENCY_TYPE_NONE   5
 
#define AS_LATENCY_TYPE_QUERY   4
 
#define AS_LATENCY_TYPE_READ   2
 
#define AS_LATENCY_TYPE_WRITE   1
 

Typedefs

typedef uint8_t as_latency_type
 

Functions

static uint64_t as_latency_get_bucket (as_latency_buckets *buckets, uint32_t i)
 
AS_EXTERN char * as_latency_type_to_string (as_latency_type type)
 

Macro Definition Documentation

◆ AS_LATENCY_TYPE_BATCH

#define AS_LATENCY_TYPE_BATCH   3

Definition at line 34 of file as_latency.h.

◆ AS_LATENCY_TYPE_CONN

#define AS_LATENCY_TYPE_CONN   0

Definition at line 31 of file as_latency.h.

◆ AS_LATENCY_TYPE_NONE

#define AS_LATENCY_TYPE_NONE   5

Definition at line 36 of file as_latency.h.

◆ AS_LATENCY_TYPE_QUERY

#define AS_LATENCY_TYPE_QUERY   4

Definition at line 35 of file as_latency.h.

◆ AS_LATENCY_TYPE_READ

#define AS_LATENCY_TYPE_READ   2

Definition at line 33 of file as_latency.h.

◆ AS_LATENCY_TYPE_WRITE

#define AS_LATENCY_TYPE_WRITE   1

Definition at line 32 of file as_latency.h.

Typedef Documentation

◆ as_latency_type

typedef uint8_t as_latency_type

Definition at line 29 of file as_latency.h.

Function Documentation

◆ as_latency_get_bucket()

static uint64_t as_latency_get_bucket ( as_latency_buckets * buckets,
uint32_t i )
inlinestatic

Definition at line 53 of file as_latency.h.

References as_load_uint64, and as_latency_buckets::buckets.

◆ as_latency_type_to_string()

AS_EXTERN char * as_latency_type_to_string ( as_latency_type type)

Convert latency_type to string version for printing to the output file