codes-workload-test-cn-lp.h 646 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
/*
 * 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

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

extern tw_lptype client_lp;
14
char workload_type[MAX_NAME_LENGTH_WKLD];
15
struct bgp_params bgparams;
16

17
void cn_op_complete(tw_lp *lp, tw_stime svc_time, tw_lpid gid);
18 19 20 21 22 23 24 25 26 27 28 29 30
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
 */