#include <vector>#include "app.h"#include "time_stats.h"#include "client_types.h"#include "../sched/edf_sim.h"


Go to the source code of this file.
Classes | |
| struct | SIM_RESULTS |
| struct | PROJECT_RESULTS |
| class | NORMAL_DIST |
| class | UNIFORM_DIST |
| class | RANDOM_PROCESS |
| class | SIM_APP |
| class | SIM_PROJECT |
| class | SIM_HOST |
| class | CLIENT_STATE |
| encapsulates the global variables of the core client. More... | |
| class | NET_STATUS |
Defines | |
| #define | WORK_FETCH_DONT_NEED 0 |
| #define | WORK_FETCH_OK 1 |
| #define | WORK_FETCH_NEED 2 |
| #define | WORK_FETCH_NEED_IMMEDIATELY 3 |
Functions | |
| double | calculate_exponential_backoff (int n, double MIN, double MAX) |
| return a random double in the range [MIN,min(e^n,MAX)) | |
Variables | |
| CLIENT_STATE | gstate |
| NET_STATUS | net_status |
| FILE * | logfile |
| bool | user_active |
| SIM_RESULTS | sim_results |
| bool | dcf_dont_use |
| bool | dcf_stats |
| bool | cpu_sched_rr_only |
| bool | dual_dcf |
| bool | work_fetch_old |
| #define WORK_FETCH_DONT_NEED 0 |
| #define WORK_FETCH_NEED 2 |
| #define WORK_FETCH_NEED_IMMEDIATELY 3 |
| #define WORK_FETCH_OK 1 |
| double calculate_exponential_backoff | ( | int | n, | |
| double | MIN, | |||
| double | MAX | |||
| ) |
return a random double in the range [MIN,min(e^n,MAX))


| bool cpu_sched_rr_only |
| bool dcf_dont_use |
| bool dcf_stats |
| bool dual_dcf |
| FILE* logfile |
| bool user_active |
| bool work_fetch_old |
1.5.6