codes-workload-test-cn-lp.h 669 Bytes
Newer Older
1 2 3 4 5 6 7 8
/*
 * Copyright (C) 2013 University of Chicago.
 * See COPYRIGHT notice in top-level directory.
 *
 */

#ifndef CODES_WORKLOAD_TEST_CN_LP_H
#define CODES_WORKLOAD_TEST_CN_LP_H
9
#define MAX_NAME_LENGTH 512
10 11 12 13 14

#include <ross.h>
#include "codes/codes-workload.h"

extern tw_lptype client_lp;
15 16
char workload_type[MAX_NAME_LENGTH];
struct bgp_params bgparams;
17

18
void cn_op_complete(tw_lp *lp, tw_stime svc_time, tw_lpid gid);
19 20 21 22 23 24 25 26 27 28 29 30 31
void cn_op_complete_rc(tw_lp *lp);
void cn_set_params(int num_clients, int num_servers);

#endif /* CODES_WORKLOAD_TEST_CN_LP_H */

/*
 * Local variables:
 *  c-indent-level: 4
 *  c-basic-offset: 4
 * End:
 *
 * vim: ft=c ts=8 sts=4 sw=4 expandtab
 */