forked from shaygalon/memcache-perf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConnectionOptions.h
More file actions
50 lines (40 loc) · 752 Bytes
/
ConnectionOptions.h
File metadata and controls
50 lines (40 loc) · 752 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
#ifndef CONNECTIONOPTIONS_H
#define CONNECTIONOPTIONS_H
#include "distributions.h"
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;
} options_t;
#endif // CONNECTIONOPTIONS_H