#include "if/core/wrap.h"
#include "lib/inputevt.h"
Go to the source code of this file.
Data Structures | |
struct | bio_source |
Source under bandwidth control. More... | |
Defines | |
#define | BS_BW_MAX (2*1024*1024) |
#define | BIO_F_READ 0x00000001 /**< Reading source */ |
Reading source. | |
#define | BIO_F_WRITE 0x00000002 /**< Writing source */ |
Writing source. | |
#define | BIO_F_ACTIVE 0x00000004 /**< Source active since b/w scheduled */ |
Source active since b/w scheduled. | |
#define | BIO_F_USED 0x00000008 /**< Source used this period */ |
Source used this period. | |
#define | BIO_F_RW (BIO_F_READ|BIO_F_WRITE) |
#define | BIO_EMA_SHIFT 7 |
#define | bio_bps(b) ((b)->bw_last_bps) |
#define | bio_avg_bps(b) ((b)->bw_slow_ema >> BIO_EMA_SHIFT) |
Typedefs | |
typedef bsched | bsched_t |
typedef bio_source | bio_source_t |
Source under bandwidth control. |
|
|
|
|
|
|
|
Source active since b/w scheduled.
|
|
Reading source.
|
|
|
|
Source used this period.
|
|
Writing source.
|
|
|
|
Source under bandwidth control.
|
|
|