?? aggcbqegress-est.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();
};
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -