亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? aggcbqegress-est.cc.cc

?? 在網(wǎng)絡(luò)的邊緣路由器中并不能完全接受所到的包
?? CC
?? 第 1 頁 / 共 2 頁
字號(hào):

  //------------ end of computation --------------------

}

void AggCbqEgress_Est::generatearrivalenvelope0()
{
  int j=0;
  double tempmean;
  double tempmeancount;
  double tempvariance;
  double tempvariancecount;
  double mean;
  double variance;

  //The arrival envelope is stored in the array arrivalenvelope 
  //The first column gives the mean and the second column the variance
  
  while(j < 17)
  {
     navigatelist0 = headoflist0;
     tempmean = 0.0;
     tempmeancount = 0;
     while(navigatelist0->next != headoflist0)
     {
        if(navigatelist0->maxminarrayoftime0[j][0] != 0 &&
navigatelist0->maxminarrayoftime0[j][0] != 9999)
        {
           tempmeancount++;
           tempmean = tempmean + navigatelist0->maxminarrayoftime0[j][0];
        }
        navigatelist0 = navigatelist0->next;
     }

     if(navigatelist0->next == headoflist0)
     {
        if(navigatelist0->maxminarrayoftime0[j][0] != 0 &&
navigatelist0->maxminarrayoftime0[j][0] != 9999)
        {
           tempmeancount++;
           tempmean = tempmean + navigatelist0->maxminarrayoftime0[j][0];
        }
     }

     if(tempmeancount > 0)
     {
        mean = tempmean/tempmeancount;
     }
     else
     {
        mean = 0.0;
     }
     arrivalenvelope0[j][0] = mean;

     navigatelist0 = headoflist0;
     tempvariance = 0.0;
     tempvariancecount = 0;

     while(navigatelist0->next != headoflist0)
     {
        if(navigatelist0->maxminarrayoftime0[j][0] != 0 &&
navigatelist0->maxminarrayoftime0[j][0] != 9999)
        {
           tempvariancecount++;
           tempvariance = tempvariance + ((mean -
navigatelist0->maxminarrayoftime0[j][0])*(mean -navigatelist0->maxminarrayoftime0[j][0]));
        }
        navigatelist0 = navigatelist0->next;
     }
 
     if(navigatelist0->next == headoflist0)
     {
        if(navigatelist0->maxminarrayoftime0[j][0] != 0 &&
navigatelist0->maxminarrayoftime0[j][0] != 9999)
        {
          tempvariancecount++;
          tempvariance = tempvariance + ((mean -
navigatelist0->maxminarrayoftime0[j][0])*(mean - navigatelist0->maxminarrayoftime0[j][0]));
        }
     }
     
     if(tempvariancecount > 1)
     {
        variance = tempvariance / (tempvariancecount-1);
     }
     else
     {
        variance = 0.0;
     }
     arrivalenvelope0[j][1] = variance;
    
     j++;
  }

  printf("\n The arrival envelopes are : \n");
  for(j = 0; j < 17; j++)
  {
    printf(" Row %d --------- Mean is %f ..... Variance is %f \n",j,arrivalenvelope0[j][0],arrivalenvelope0[j][1]);
  }
}

void AggCbqEgress_Est::generatearrivalenvelope1()
{
  int j=0;
  double tempmean;
  double tempmeancount;
  double tempvariance;
  double tempvariancecount;
  double mean;
  double variance;

  //The arrival envelope is stored in the array arrivalenvelope 
  //The first column gives the mean and the second column the variance
  
  while(j < 17)
  {
     navigatelist1 = headoflist1;
     tempmean = 0.0;
     tempmeancount = 0;
     while(navigatelist1->next != headoflist1)
     {
        if(navigatelist1->maxminarrayoftime1[j][0] != 0 &&
navigatelist1->maxminarrayoftime1[j][0] != 9999)
        {
           tempmeancount++;
           tempmean = tempmean + navigatelist1->maxminarrayoftime1[j][0];
        }
        navigatelist1 = navigatelist1->next;
     }

     if(navigatelist1->next == headoflist1)
     {
        if(navigatelist1->maxminarrayoftime1[j][0] != 0 &&
navigatelist1->maxminarrayoftime1[j][0] != 9999)
        {
           tempmeancount++;
           tempmean = tempmean + navigatelist1->maxminarrayoftime1[j][0];
        }
     }

     if(tempmeancount > 0)
     {
        mean = tempmean/tempmeancount;
     }
     else
     {
        mean = 0.0;
     }
     arrivalenvelope1[j][0] = mean;

     navigatelist1 = headoflist1;
     tempvariance = 0.0;
     tempvariancecount = 0;

     while(navigatelist1->next != headoflist1)
     {
        if(navigatelist1->maxminarrayoftime1[j][0] != 0 &&
navigatelist1->maxminarrayoftime1[j][0] != 9999)
        {
           tempvariancecount++;
           tempvariance = tempvariance + ((mean -
navigatelist1->maxminarrayoftime1[j][0])*(mean -navigatelist1->maxminarrayoftime1[j][0]));
        }
        navigatelist1 = navigatelist1->next;
     }
 
     if(navigatelist1->next == headoflist1)
     {
        if(navigatelist1->maxminarrayoftime1[j][0] != 0 &&
navigatelist1->maxminarrayoftime1[j][0] != 9999)
        {
          tempvariancecount++;
          tempvariance = tempvariance + ((mean -
navigatelist1->maxminarrayoftime1[j][0])*(mean - navigatelist1->maxminarrayoftime1[j][0]));
        }
     }
     
     if(tempvariancecount > 1)
     {
        variance = tempvariance / (tempvariancecount-1);
     }
     else
     {
        variance = 0.0;
     }
     arrivalenvelope1[j][1] = variance;
    
     j++;
  }

  printf("\n The arrival envelopes are : \n");
  for(j = 0; j < 17; j++)
  {
    printf(" Row %d --------- Mean is %f ..... Variance is %f \n",j,arrivalenvelope1[j][0],arrivalenvelope1[j][1]);
  }
}
 
void AggCbqEgress_Est::generateserviceenvelope0()
{
  int j=0;
  double tempmean;
  double tempmeancount;
  double tempvariance;
  double tempvariancecount;
  double mean;
  double variance;

  //The service envelope is stored in the array service envelope
  //The first column gives the mean and the second column the variance
  
  while(j < 17)
  {
     navigatelist0 = headoflist0;
     tempmean = 0.0;
     tempmeancount = 0;
     while(navigatelist0->next != headoflist0)
     {
        if(navigatelist0->maxminarrayoftime0[j][1] != 9999 &&
navigatelist0->maxminarrayoftime0[j][1] != 0)
        {
           tempmeancount++;
           tempmean = tempmean + navigatelist0->maxminarrayoftime0[j][1];
        }
        navigatelist0 = navigatelist0->next;
     }

     if(navigatelist0->next == headoflist0)
     {
        if(navigatelist0->maxminarrayoftime0[j][1] != 9999 &&
navigatelist0->maxminarrayoftime0[j][1] != 0)
        {
           tempmeancount++;
           tempmean = tempmean + navigatelist0->maxminarrayoftime0[j][1];
        }
     }

     if(tempmeancount > 0)
     {
        mean = tempmean/tempmeancount;
     }
     else
     {
        mean = 0.0;
     }
     serviceenvelope0[j][0] = mean;

     navigatelist0 = headoflist0;
     tempvariance = 0.0;
     tempvariancecount = 0;

     while(navigatelist0->next != headoflist0)
     {
        if(navigatelist0->maxminarrayoftime0[j][1] != 9999 &&
navigatelist0->maxminarrayoftime0[j][1] != 0)
        {
           tempvariancecount++;
           tempvariance = tempvariance + ((mean -
navigatelist0->maxminarrayoftime0[j][1])*(mean -navigatelist0->maxminarrayoftime0[j][1]));
        }
        navigatelist0 = navigatelist0->next;
     }
 
     if(navigatelist0->next == headoflist0)
     {
        if(navigatelist0->maxminarrayoftime0[j][1] != 9999 &&
navigatelist0->maxminarrayoftime0[j][1] != 0)
        {
          tempvariancecount++;
          tempvariance = tempvariance + ((mean -
navigatelist0->maxminarrayoftime0[j][1])*(mean - navigatelist0->maxminarrayoftime0[j][1]));
        }
     }
     
     if(tempvariancecount > 1)
     {
        variance = tempvariance / (tempvariancecount-1);
     }
     else
     {
        variance = 0.0;
     }
     serviceenvelope0[j][1] = variance;
    
     j++;
  }

  printf("\n The service envelopes are : \n");
  for(j = 0; j < 17; j++)
  {
    printf(" Row %d --------- Mean is %f ..... Variance is %f \n",j,serviceenvelope0[j][0],serviceenvelope0[j][1]);
  }

}  

void AggCbqEgress_Est::generateserviceenvelope1()
{
  int j=0;
  double tempmean;
  double tempmeancount;
  double tempvariance;
  double tempvariancecount;
  double mean;
  double variance;

  //The service envelope is stored in the array service envelope
  //The first column gives the mean and the second column the variance
  
  while(j < 17)
  {
     navigatelist1 = headoflist1;
     tempmean = 0.0;
     tempmeancount = 0;
     while(navigatelist1->next != headoflist1)
     {
        if(navigatelist1->maxminarrayoftime1[j][1] != 9999 &&
navigatelist1->maxminarrayoftime1[j][1] != 0)
        {
           tempmeancount++;
           tempmean = tempmean + navigatelist1->maxminarrayoftime1[j][1];
        }
        navigatelist1 = navigatelist1->next;
     }

     if(navigatelist1->next == headoflist1)
     {
        if(navigatelist1->maxminarrayoftime1[j][1] != 9999 &&
navigatelist1->maxminarrayoftime1[j][1] != 0)
        {
           tempmeancount++;
           tempmean = tempmean + navigatelist1->maxminarrayoftime1[j][1];
        }
     }

     if(tempmeancount > 0)
     {
        mean = tempmean/tempmeancount;
     }
     else
     {
        mean = 0.0;
     }
     serviceenvelope1[j][0] = mean;

     navigatelist1 = headoflist1;
     tempvariance = 0.0;
     tempvariancecount = 0;

     while(navigatelist1->next != headoflist1)
     {
        if(navigatelist1->maxminarrayoftime1[j][1] != 9999 &&
navigatelist1->maxminarrayoftime1[j][1] != 0)
        {
           tempvariancecount++;
           tempvariance = tempvariance + ((mean -
navigatelist1->maxminarrayoftime1[j][1])*(mean -navigatelist1->maxminarrayoftime1[j][1]));
        }
        navigatelist1 = navigatelist1->next;
     }
 
     if(navigatelist1->next == headoflist1)
     {
        if(navigatelist1->maxminarrayoftime1[j][1] != 9999 &&
navigatelist1->maxminarrayoftime1[j][1] != 0)
        {
          tempvariancecount++;
          tempvariance = tempvariance + ((mean -
navigatelist1->maxminarrayoftime1[j][1])*(mean - navigatelist1->maxminarrayoftime1[j][1]));
        }
     }
     
     if(tempvariancecount > 1)
     {
        variance = tempvariance / (tempvariancecount-1);
     }
     else
     {
        variance = 0.0;
     }
     serviceenvelope1[j][1] = variance;
    
     j++;
  }

  printf("\n The service envelopes are : \n");
  for(j = 0; j < 17; j++)
  {
    printf(" Row %d --------- Mean is %f ..... Variance is %f \n",j,serviceenvelope1[j][0],serviceenvelope1[j][1]);
  }

}  
   

void AggCbqEgress_Est::estimate() 
{
     static int check = 0;

     if(check == 0)
     {

        double now2 = Scheduler::instance().clock();
        printf("\n the time in estimate function is %f \n",now2); 

        // This part of the code is for extracting the arrival and service times of the 
        // packets into an array

        extractarrivalservicetimesintoarray();      

        // this part of the code is used for generating the table which contains the
        // maximum arrival time and minimum service time for 1k, 2k, 4k...... 64k

        computationofminarrivalmaxservicetimes0();     
        computationofminarrivalmaxservicetimes1();
  
       // This part of the code is for creating the circular list which keeps data over a 
       // time period of 10 seconds

        createmaxmintimelist0(maxmintimes0);
        createmaxmintimelist1(maxmintimes1);
       // printmaxmintimelist0();
       // printmaxmintimelist1();      

       // This part of the code is for generating the arrival and service envelopes
       
       // The arrival envelope contains the mean and variance of all the arrival times
         generatearrivalenvelope0();
         generatearrivalenvelope1();

       // The service envelope contains the mean and variance of all the service times
         generateserviceenvelope0();
         generateserviceenvelope1();

         Trace::snoopqueueinitialize();
         Trace::setsnoopqueuecount();

     }

     if(check == 0)
     {
        check = 1;
     }
     else
     {
        check = 0;
     }


}

void AggCbqEgress_Est::start() {

	printf("AggTrafEnv_Est::start\n");
        initializemaxminlist0();
        initializemaxminlist1();
        //printmaxmintimelist();
	est_timer_.resched(period_);

}


		

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产在线观看一区二区| 亚洲一区二区三区自拍| 91精品国产一区二区三区蜜臀| 97久久精品人人爽人人爽蜜臀| 成人午夜碰碰视频| 9i看片成人免费高清| 91丨porny丨蝌蚪视频| 99国产精品久久久久久久久久| 99久久精品免费| 欧美日韩亚洲综合在线| 欧美伦理影视网| 日韩欧美在线网站| 久久久久国产成人精品亚洲午夜| 久久午夜色播影院免费高清 | 欧美肥妇free| 日韩欧美中文字幕制服| 国产视频一区二区三区在线观看| 欧美国产日韩a欧美在线观看| 国产欧美日韩不卡免费| 亚洲精品国产第一综合99久久| 亚洲亚洲精品在线观看| 美国欧美日韩国产在线播放| 国产一区二区伦理片| 91色视频在线| 欧美一级日韩免费不卡| 中文字幕免费在线观看视频一区| 一区二区三区久久久| 免费在线观看不卡| av电影天堂一区二区在线观看| 在线观看亚洲专区| 久久久青草青青国产亚洲免观| 欧美狂野另类xxxxoooo| www国产精品av| 亚洲一二三四区不卡| 狠狠色丁香九九婷婷综合五月| 成人av小说网| 日韩免费观看高清完整版 | 99久久精品国产精品久久| 宅男噜噜噜66一区二区66| 国产精品久久看| 另类小说图片综合网| 91视频免费播放| 久久精品一区四区| 免费观看久久久4p| 欧洲激情一区二区| 欧美国产丝袜视频| 国产一区二区伦理| 欧美一级艳片视频免费观看| 亚洲欧美韩国综合色| 国产成人免费视频一区| 欧美一级电影网站| 亚洲综合在线观看视频| 国产99久久久国产精品| 精品欧美乱码久久久久久| 午夜欧美2019年伦理| 91色九色蝌蚪| 日韩一区欧美小说| 国产激情视频一区二区三区欧美 | 另类人妖一区二区av| 欧美性生活大片视频| 18成人在线观看| 成人综合在线观看| 国产午夜精品理论片a级大结局| 天堂蜜桃一区二区三区| 欧美视频在线播放| 亚洲午夜在线电影| 91成人免费网站| 有码一区二区三区| 色视频成人在线观看免| 最新国产の精品合集bt伙计| 盗摄精品av一区二区三区| 久久久亚洲午夜电影| 美女国产一区二区三区| 精品区一区二区| www.视频一区| 中文字幕佐山爱一区二区免费| av一区二区三区在线| 中文字幕一区二区三区在线播放| 成人18视频日本| 玉米视频成人免费看| 欧亚一区二区三区| 秋霞电影网一区二区| 欧美成人精品高清在线播放| 久久国产日韩欧美精品| 国产女同性恋一区二区| 99久久精品费精品国产一区二区| 亚洲色图.com| 国产精品一品二品| 亚洲同性gay激情无套| 91一区二区三区在线观看| 亚洲免费伊人电影| 欧美精品乱人伦久久久久久| 蜜臀av性久久久久蜜臀aⅴ| 日韩免费高清av| 日韩电影在线看| 久久久久久9999| 一本到一区二区三区| 日韩不卡免费视频| 亚洲国产精品精华液ab| 在线观看免费一区| 国产综合成人久久大片91| 国产精品理伦片| 欧美一区二区三区四区五区| 国产成人精品亚洲午夜麻豆| 亚洲欧美色一区| 欧美精品一区二区三区一线天视频 | 欧美性大战久久| 老色鬼精品视频在线观看播放| 久久综合狠狠综合| 欧美综合亚洲图片综合区| 精品一二三四区| 亚洲黄色在线视频| 欧美日韩色一区| 成人午夜免费视频| 日韩电影在线看| 亚洲精品免费电影| 国产日韩欧美制服另类| 7777精品久久久大香线蕉| 懂色av一区二区夜夜嗨| 日本人妖一区二区| 亚洲色图制服丝袜| 国产亚洲一二三区| 日韩欧美精品三级| 欧美日韩国产精品成人| av不卡一区二区三区| 久久99精品一区二区三区| 亚洲午夜羞羞片| 自拍偷拍亚洲欧美日韩| 国产日韩视频一区二区三区| 欧美日本一区二区三区四区| av在线一区二区| 国产精品99久久久久久久vr | 中国av一区二区三区| 日韩一级免费观看| 欧美日韩免费高清一区色橹橹| bt7086福利一区国产| 国产成人鲁色资源国产91色综 | 久久久久久久久97黄色工厂| 日韩欧美一区二区三区在线| 欧美另类z0zxhd电影| 欧美午夜电影在线播放| 色88888久久久久久影院野外| 99久久久久久| 91色视频在线| 一本久久a久久精品亚洲| 99久久精品国产一区二区三区| 成人黄色一级视频| jiyouzz国产精品久久| 粉嫩aⅴ一区二区三区四区| 国产成a人无v码亚洲福利| 国产成人在线视频免费播放| 国产在线国偷精品免费看| 国产一区欧美一区| 国产福利91精品一区二区三区| 国产一区二区视频在线播放| 国产乱子轮精品视频| 韩国三级电影一区二区| 国产精品88av| 国产成人欧美日韩在线电影| 国产91精品露脸国语对白| yourporn久久国产精品| 欧美在线观看一区| 国产亚洲一二三区| 国产精品欧美久久久久无广告| 国产精品女上位| 亚洲综合网站在线观看| 性做久久久久久久免费看| 蜜臀av性久久久久蜜臀av麻豆| 韩国一区二区视频| www.久久精品| 欧美精品在线观看播放| 久久久不卡网国产精品二区| 亚洲国产高清不卡| 亚洲gay无套男同| 国产一区二区视频在线| 99re亚洲国产精品| 6080国产精品一区二区| 久久精品无码一区二区三区| 国产精品成人免费| 日韩中文欧美在线| 国产98色在线|日韩| 欧美日韩在线三区| 久久久久久久综合日本| 亚洲视频一二区| 一区二区久久久久久| 亚洲国产成人高清精品| 国产毛片精品国产一区二区三区| 色天使色偷偷av一区二区| 欧美成人一区二区三区在线观看 | 香蕉av福利精品导航| 国产馆精品极品| 欧美夫妻性生活| 国产精品高清亚洲| 韩国女主播成人在线观看| 在线观看免费成人| 久久精品免费在线观看| 日韩电影在线观看一区| 色婷婷国产精品久久包臀 | 99久久99久久精品免费看蜜桃| 91精品久久久久久蜜臀|