test-qsup-level.c File Reference

#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 Documentation

typedef double pair_t[2]

Definition at line 21 of file test-qsup-level.c.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Variable Documentation

Initial value:
 {
  { 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().

Initial value:
 {
  
  { 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().

Generated on Mon Aug 2 22:39:17 2010 for qosres by  doxygen 1.6.3