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

📄 aggegress-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 AggEgress_Est : public Estimator {
public:
        static double arrivalenvelope[17][2];
        static double serviceenvelope[17][2];
        static double tempmeandelay;
        static double tempmaxdelay;
        static int outsideboundcount;
        static int tempcount;
	AggEgress_Est();
        void initializemaxminlist(void);
        void createmaxmintimelist(double [][2]);
        void printmaxmintimelist(void);
        void computemeanmaxdelay(void);
        void extractarrivalservicetimesintoarray();
        void computationofminarrivalmaxservicetimes();
        void generatearrivalenvelope();
        void generateserviceenvelope();


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_;
        double delayrequest_;
        Measure *temp;
        double arrayoftimes[NUMOFPACKS][2]; 
        double maxmintimes[17][2];
        double temparrivaltime;
        double tempservicetime;
        void estimate();
	void start();
};


⌨️ 快捷键说明

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