#include <linux/aquosa/qsup.h>
#include <linux/aquosa/qos_debug.h>
#include <linux/aquosa/qos_types.h>
#include <math.h>
#include <sys/time.h>
#include <time.h>
Go to the source code of this file.
Typedefs | |
typedef double | pair_t [2] |
Functions | |
int | main (int argc, char *argv[]) |
Variables | |
pair_t | bw_requests [] |
pair_t | bw_approved [] |
double | tolerance = 0.0001 |
typedef double pair_t[2] |
Definition at line 21 of file test-qsup-level.c.
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 49 of file test-qsup-level.c.
References bw2d(), bw_approved, bw_requests, d2bw(), qos_chk_ok_exit, qos_log_debug, qos_log_err, qsup_add_group_constraints(), qsup_add_level_rule(), qsup_cleanup(), qsup_create_server(), qsup_dump(), qsup_get_approved_bw(), qsup_init(), qsup_set_required_bw(), and tolerance.
{ { 0.2, 0.2 }, { 0.5/(0.5+0.5)*0.75, 0.5/(0.5+0.5)*0.75}, { 0.4/(0.4+0.5)*0.75, 0.5/(0.4+0.5)*0.75}, { 0.2, 0.5 }, { 0.4/(0.4+0.5)*0.75, 0.5/(0.4+0.5)*0.75}, { 0.0, 0.0 }, }
Definition at line 38 of file test-qsup-level.c.
Referenced by main().
{ { 0.2, 0.2 }, { 0.5, 0.5 }, { 0.4, 0.5 }, { 0.2, 0.6 }, { 0.4, 0.6 }, { 0.0, 0.0 }, }
Definition at line 23 of file test-qsup-level.c.
Referenced by main().
double tolerance = 0.0001 |
Definition at line 47 of file test-qsup-level.c.
Referenced by main().