forked from shaygalon/memcache-perf
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathConnectionOptions.h
More file actions
66 lines (52 loc) · 970 Bytes
/
ConnectionOptions.h
File metadata and controls
66 lines (52 loc) · 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#ifndef CONNECTIONOPTIONS_H
#define CONNECTIONOPTIONS_H
#include "distributions.h"
#define MAX_DYN 32
typedef struct {
int connections;
bool blocking;
double lambda;
int qps;
int records;
bool binary;
bool sasl;
char username[32];
char password[32];
char keysize[32];
char valuesize[32];
char keyorder[32];
// int keysize;
// int valuesize;
char ia[32];
// qps_per_connection
// iadist
double update;
int time;
bool loadonly;
int depth;
bool no_nodelay;
bool noload;
int threads;
enum distribution_t iadist;
int warmup;
bool skip;
bool roundrobin;
int server_given;
int lambda_denom;
bool oob_thread;
bool moderate;
double getq_freq;
int getq_size;
int dyn_agent;
int dyn_en;
int trace_en;
int qps_min;
int qps_max;
double qps_interval;
int n_intervals;
int qps_measure;
int qps_seed;
int *qps_dyn;
double *lambda_dyn;
} options_t;
#endif // CONNECTIONOPTIONS_H