Revision 9d55b3b7

View differences:

topology.c
41 41
static tmanRankingFunction rankFunct = simpleRanker;
42 42
struct metadata {
43 43
  uint16_t cb_size;
44
  uint16_t cps;
44 45
  float recv_delay;
45 46
};
46 47
static struct metadata my_metadata;
......
53 54

  
54 55
	my_metadata.cb_size = am_i_source() ? 0 : get_cb_size();
55 56
	my_metadata.recv_delay = get_receive_delay();
57
	my_metadata.cps = get_chunks_per_sec();
56 58
}
57 59

  
58 60
static int simpleRanker (const void *tin, const void *p1in, const void *p2in) {

Also available in: Unified diff