NetSim Source Code Help
Loading...
Searching...
No Matches
Scheduling.h
Go to the documentation of this file.
1/************************************************************************************
2* Copyright (C) 2021 *
3* TETCOS, Bangalore. India *
4* *
5* Tetcos owns the intellectual property rights in the Product and its content. *
6* The copying, redistribution, reselling or publication of any or all of the *
7* Product or its content without express prior written consent of Tetcos is *
8* prohibited. Ownership and / or any other right relating to the software and all *
9* intellectual property rights therein shall remain at all times with Tetcos. *
10* *
11* This source code is licensed per the NetSim license agreement. *
12* *
13* No portion of this source code may be used as the basis for a derivative work, *
14* or used, for any purpose other than its intended use per the NetSim license *
15* agreement. *
16* *
17* This source code and the algorithms contained within it are confidential trade *
18* secrets of TETCOS and may not be used as the basis for any other software, *
19* hardware, product or service. *
20* *
21* Author: Ramsaran Giri *
22* *
23* ----------------------------------------------------------------------------------*/
24#ifndef _NETSIM_SCHEDULING_H_
25#define _NETSIM_SCHEDULING_H_
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30 typedef struct stru_queuing_red
31 {
32 double min_th;
33 double max_th;
34 double max_p;
36 int count;
38 double wq; // Weight for avg queue size
39 double q_time;
41
42 typedef struct stru_queuing_wred
43 {
44 double* min_th;
45 double* max_th;
46 double* max_p;
48 int* count;
49 double* random_value;
50 double wq;
51 double q_time;
53
54 typedef struct stru_scheduling_edf
55 {
56 double* max_latency;
58
59#ifdef __cplusplus
60}
61#endif
62#endif //_NETSIM_SCHEDULING_H_
struct stru_queuing_wred QUEUING_WRED_VAR
struct stru_scheduling_edf SCHEDULING_EDF_VAR
struct stru_queuing_wred * ptrQUEUING_WRED_VAR
struct stru_queuing_red * ptrQUEUING_RED_VAR
struct stru_queuing_red QUEUING_RED_VAR
struct stru_scheduling_edf * ptrSCHEDULING_EDF_VAR
double avg_queue_size
Definition: Scheduling.h:35
double random_value
Definition: Scheduling.h:37
double * max_th
Definition: Scheduling.h:45
double * max_p
Definition: Scheduling.h:46
double * min_th
Definition: Scheduling.h:44
double avg_queue_size
Definition: Scheduling.h:47
double * random_value
Definition: Scheduling.h:49
double * max_latency
Definition: Scheduling.h:56