⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aggcbqegress-est.h.h

📁 在网络的边缘路由器中并不能完全接受所到的包
💻 H
字号:
#include <stdlib.h>
#include <math.h>
#include "estimator.h"
#include "trace.h"
#include "measure.h"
#include <malloc.h>
#include <stdio.h>

class AggCbqEgress_Est : public Estimator {
public:
        static double arrivalenvelope0[17][2];
        static double serviceenvelope0[17][2];
        static double arrivalenvelope1[17][2];
        static double serviceenvelope1[17][2];
	AggCbqEgress_Est();
        void initializemaxminlist0(void);
        void initializemaxminlist1(void);
        void createmaxmintimelist0(double [][2]);
        void createmaxmintimelist1(double [][2]);
        void printmaxmintimelist0(void);
        void printmaxmintimelist1(void);
        void extractarrivalservicetimesintoarray();
        void computationofminarrivalmaxservicetimes0();
        void computationofminarrivalmaxservicetimes1();
        void generatearrivalenvelope0();
        void generatearrivalenvelope1();
        void generateserviceenvelope0();
        void generateserviceenvelope1();


private:
        /* period_ is length of basic measurement interval */
	double T_;  /* length of T interval */
	int M_;  /* number of T intervals of history */
        double lifetimeofflow_;
        double simulationtime_;
        Measure *temp;
        double arrayoftimes0[NUMOFPACKS][2]; 
        double arrayoftimes1[NUMOFPACKS][2];
        double maxmintimes0[17][2];
        double maxmintimes1[17][2];
        double temparrivaltime;
        double tempservicetime;
        void estimate();
	void start();
};


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -