mutilate/ConnectionOptions.h
Daniel Byrne 9e7fa3d1e9 shm
2022-05-25 18:43:34 -04:00

70 lines
1.1 KiB
C

#ifndef CONNECTIONOPTIONS_H
#define CONNECTIONOPTIONS_H
#include "distributions.h"
typedef struct {
int apps;
int rand_admit;
bool ratelimit;
bool v1callback;
int threshold;
int wb_all;
bool miss_through;
int connections;
bool blocking;
double lambda;
int qps;
int records;
int misswindow;
int queries;
int assoc;
char file_name[256];
bool read_file;
bool binary;
bool unix_socket;
bool successful_queries;
bool use_assoc;
bool redis;
bool getset;
bool getsetorset;
bool delete90;
bool sasl;
char username[32];
char password[32];
char prefix[256];
char hashtype[256];
char keysize[32];
char valuesize[32];
// int keysize;
// int valuesize;
char ia[32];
// qps_per_connection
// iadist
int twitter_trace;
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;
char inclusives[256];
} options_t;
#endif // CONNECTIONOPTIONS_H