sssimulator / sched.h @ master
History | View | Annotate | Download (503 Bytes)
1 | 86681e55 | luca | /*
|
---|---|---|---|
2 | * This is SSSim: the Simple & Stupid Simulator
|
||
3 | *
|
||
4 | * Copyright (c) 2008 Luca Abeni
|
||
5 | * Copyright (c) 2008 Csaba Kiraly
|
||
6 | *
|
||
7 | * This is free software; see gpl-3.0.txt
|
||
8 | */
|
||
9 | 32c9a7bc | Luca Baldesi | #ifndef __SCHED_H__
|
10 | #define __SCHED_H__ 1 |
||
11 | 86681e55 | luca | |
12 | void peer_send(struct peer *p, int t, int *chunk, struct peer **target); |
||
13 | 4123e0f7 | Luca Baldesi | void peer_send_chunk(struct peer *p, int t, int *chunk, struct peer *target); |
14 | b15bb747 | luca | void source_set(struct peer **neigh, int size, double * probs, int num_chunks); |
15 | 86681e55 | luca | void source_send(int t, struct peer **target); |
16 | 32c9a7bc | Luca Baldesi | |
17 | #endif |