#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 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().
| int main | ( | ) |
Definition at line 51 of file fork_and_loop.c.
References main_loop(), qos_chk_exit, qos_chk_ok_exit, qos_log_debug, qres_cleanup(), and qres_init().
| int main_loop | ( | void * | ptr | ) |
Definition at line 31 of file fork_and_loop.c.
References qres_params_t::P, qres_params_t::Q, qos_chk_ok_exit, qos_log_debug, qres_attach_thread(), qres_create_server(), qres_get_exec_time(), QRES_TIME_FMT, and sid.
Referenced by main().
{
.Q_min = 0,
.Q = 30000,
.P = 60000,
.flags = 0,
}
Definition at line 24 of file fork_and_loop.c.
{
.Q_min = 0,
.Q = 15000,
.P = 60000,
.flags = 0,
}
Definition at line 17 of file fork_and_loop.c.
1.6.3