Statistics
| Branch: | Revision:

streamers / measures.h @ 19d6b4ca

History | View | Annotate | Download (598 Bytes)

1
#ifndef MEASURES_H
2
#define MEASURES_H
3

    
4
#include <stdbool.h>
5

    
6
struct nodeID;
7

    
8
void init_measures();
9
void add_measures(struct nodeID *id);
10
void delete_measures(struct nodeID *id);
11
double get_rtt(struct nodeID *id);
12
double get_lossrate(struct nodeID *id);
13
double get_average_lossrate(struct  nodeID**id, int len);
14
int get_hopcount(struct nodeID *id);
15
void reg_chunk_duplicate();
16
void reg_chunk_playout(int id, bool b, uint64_t timestamp);
17
void reg_neigh_size(int s);
18
void reg_chunk_receive(int id, uint64_t timestamp, int hopcount);
19
void reg_chunk_send(int id);
20
void reg_offer_accept(bool b);
21

    
22
#endif