fork_and_loop.c File Reference

#include <aquosa/qres_lib.h>
#include <linux/aquosa/qos_debug.h>
#include <assert.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/time.h>
#include <math.h>
#include <pthread.h>
#include <sys/types.h>
#include <sys/wait.h>

Go to the source code of this file.

Defines

#define ORIG_Q   15000L
 The original bandwidth assignment.
#define ORIG_P   60000L

Functions

int main_loop (void *ptr)
int main ()

Variables

qres_params_t params
qres_params_t child_params

Define Documentation

#define ORIG_P   60000L

Definition at line 15 of file fork_and_loop.c.

Referenced by main(), and main_body().

#define ORIG_Q   15000L

The original bandwidth assignment.

Definition at line 14 of file fork_and_loop.c.

Referenced by main(), main_body(), and main_loop().


Function Documentation

int main (  ) 
int main_loop ( void *  ptr  ) 

Variable Documentation

Initial value:
 {
  .Q_min = 0,
  .Q = 30000,
  .P = 60000,
  .flags = 0,
}

Definition at line 24 of file fork_and_loop.c.

Initial value:
 {
  .Q_min = 0,
  .Q = 15000,
  .P = 60000,
  .flags = 0,
}

Definition at line 17 of file fork_and_loop.c.

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