forked from dterei/mutilate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConnectionOptions.h
More file actions
48 lines (40 loc) · 768 Bytes
/
ConnectionOptions.h
File metadata and controls
48 lines (40 loc) · 768 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
#ifndef CONNECTIONOPTIONS_H
#define CONNECTIONOPTIONS_H
#include "distributions.h"
typedef struct {
int connections;
bool blocking;
double lambda;
int qps;
int records;
bool etcd;
bool etcd2;
bool http;
bool binary;
bool sasl;
char username[32];
char password[32];
char keysize[32];
char valuesize[32];
char ia[32];
double update;
int time;
bool loadonly;
int depth;
bool no_nodelay;
bool noload;
int threads;
enum distribution_t iadist;
int warmup;
int lpause;
bool skip;
bool linear;
int reserve;
bool roundrobin;
int server_given;
int lambda_denom;
bool moderate;
char gen_pattern[8];
int num_sectors;
} options_t;
#endif // CONNECTIONOPTIONS_H