NetSim Source Code Help
v14.4
All 13 Components
Loading...
Searching...
No Matches
Scheduling.h
1
/************************************************************************************
2
* Copyright (C) 2023 *
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
27
extern
"C"
{
28
#endif
29
30
typedef
struct
stru_queuing_red
31
{
32
double
min_th;
33
double
max_th;
34
double
max_p;
35
double
avg_queue_size;
36
int
count;
37
double
random_value;
38
double
wq;
// Weight for avg queue size
39
double
q_time;
40
}QUEUING_RED_VAR, * ptrQUEUING_RED_VAR;
41
42
typedef
struct
stru_queuing_wred
43
{
44
double
* min_th;
45
double
* max_th;
46
double
* max_p;
47
double
avg_queue_size;
48
int
* count;
49
double
* random_value;
50
double
wq;
51
double
q_time;
52
}QUEUING_WRED_VAR, * ptrQUEUING_WRED_VAR;
53
54
typedef
struct
stru_scheduling_edf
55
{
56
double
* max_latency;
57
}SCHEDULING_EDF_VAR, * ptrSCHEDULING_EDF_VAR;
58
59
#ifdef __cplusplus
60
}
61
#endif
62
#endif
//_NETSIM_SCHEDULING_H_
stru_queuing_red
Definition
Scheduling.h:31
stru_queuing_wred
Definition
Scheduling.h:43
stru_scheduling_edf
Definition
Scheduling.h:55
ALL
Component 1
Part 4
SupportFunction
Scheduling.h
Generated by
1.13.2