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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? jgfscatterbench.java

?? MPI for java for Distributed Programming
?? JAVA
字號:
/***************************************************************************                                                                         **         Java Grande Forum Benchmark Suite - MPJ Version 1.0             **                                                                         **                            produced by                                  **                                                                         **                  Java Grande Benchmarking Project                       **                                                                         **                                at                                       **                                                                         **                Edinburgh Parallel Computing Centre                      **                                                                         * *                email: epcc-javagrande@epcc.ed.ac.uk                     **                                                                         **                                                                         **      This version copyright (c) The University of Edinburgh, 2001.      **                         All rights reserved.                            **                                                                         ***************************************************************************/package jgf_mpj_benchmarks.section1;import java.io.*;import jgf_mpj_benchmarks.jgfutil.*; //import jgfutil.*; import mpi.*;public class JGFScatterBench implements JGFSection1{  public  static  int nprocess;  public  static  int rank;  private static final int INITSIZE = 1;  private static final int MAXSIZE =  1000000;  private static final double TARGETTIME = 10.0;  private static final int MLOOPSIZE = 2;  private static final int SMAX = 5000000;  private static final int SMIN = 4;  public JGFScatterBench(int rank, int nprocess) {	this.rank = rank;           this.nprocess=nprocess;  }  public void JGFrun() throws MPIException {    int size,i,l,m_size;    double logsize;    double b_time;     b_time = 0.0;    double [] time = new double[1];    m_size = 0;    logsize = Math.log((double) SMAX) - Math.log((double) SMIN);/* Scatter an array of doubles *//* Create the timers */       if(rank==0){        JGFInstrumentor.addTimer("Section1:Scatter:Double", "bytes");        JGFInstrumentor.addTimer("Section1:Scatter:Barrier", "barriers");      }/* loop over no of different message sizes */    for(l=0;l<MLOOPSIZE;l++){/* Initialize the sending data */      m_size = (int)(Math.exp(Math.log((double)SMIN)+(double) ((double) l/(double) MLOOPSIZE*logsize)));      double [] recv_arr = new double[m_size];      double [] send_arr = new double[m_size*nprocess];      time[0] = 0.0;      size=INITSIZE;      MPI.COMM_WORLD.Barrier();/* Start the timer */      while (time[0] < TARGETTIME && size < MAXSIZE){        if(rank==0){          JGFInstrumentor.resetTimer("Section1:Scatter:Double");          JGFInstrumentor.startTimer("Section1:Scatter:Double");        }/* Carryout the broadcast operation */        for (int k=0; k<size; k++){          MPI.COMM_WORLD.Scatter(send_arr,0,recv_arr.length,MPI.DOUBLE,recv_arr,0,recv_arr.length,MPI.DOUBLE,0);          MPI.COMM_WORLD.Barrier();        }/* Stop the timer. Note that this reports no of bytes sent per process  */        if(rank==0){          JGFInstrumentor.stopTimer("Section1:Scatter:Double");           time[0] = JGFInstrumentor.readTimer("Section1:Scatter:Double");           JGFInstrumentor.addOpsToTimer("Section1:Scatter:Double",(double) size*recv_arr.length*8);         }/* Broadcast time to the other processes */        MPI.COMM_WORLD.Barrier();        MPI.COMM_WORLD.Bcast(time,0,1,MPI.DOUBLE,0);        size *=2;      }         size /=2;/* determine the cost of the Barrier, subtract the cost and write out the performance time */      MPI.COMM_WORLD.Barrier();      if(rank==0) {        JGFInstrumentor.resetTimer("Section1:Scatter:Barrier");        JGFInstrumentor.startTimer("Section1:Scatter:Barrier");      }      for (int k=0; k<size; k++){        MPI.COMM_WORLD.Barrier();      }      if(rank==0) {        JGFInstrumentor.stopTimer("Section1:Scatter:Barrier");        b_time = JGFInstrumentor.readTimer("Section1:Scatter:Barrier");        JGFInstrumentor.addTimeToTimer("Section1:Scatter:Double", -b_time);        JGFInstrumentor.printperfTimer("Section1:Scatter:Double",recv_arr.length);       }    }/* Scatter an array of objects containing a double *//* Create the timer */    if(rank==0){      JGFInstrumentor.addTimer("Section1:Scatter:Object", "objects");    }/* loop over no of different message sizes */    for(l=0;l<MLOOPSIZE;l++){/* Initialize the sending data */      m_size = (int)(Math.exp(Math.log((double)SMIN)+(double) ((double) l/(double) MLOOPSIZE*logsize)));      obj_double [] recv_arr_obj = new obj_double[m_size];      obj_double [] send_arr_obj = new obj_double[m_size*nprocess];      for(int k=0;k<m_size*nprocess;k++){       send_arr_obj[k] = new obj_double(0.0);      }      time[0] = 0.0;      size=INITSIZE;      MPI.COMM_WORLD.Barrier();/* Start the timer */      while (time[0] < TARGETTIME && size < MAXSIZE){        if(rank==0){          JGFInstrumentor.resetTimer("Section1:Scatter:Object");          JGFInstrumentor.startTimer("Section1:Scatter:Object");        }/* Carryout the broadcast operation */        for (int k=0; k<size; k++){          MPI.COMM_WORLD.Scatter(send_arr_obj,0,recv_arr_obj.length,MPI.OBJECT,recv_arr_obj,0,recv_arr_obj.length,MPI.OBJECT,0);          MPI.COMM_WORLD.Barrier();        }/* Stop the timer */        if(rank==0){          JGFInstrumentor.stopTimer("Section1:Scatter:Object");          time[0] = JGFInstrumentor.readTimer("Section1:Scatter:Object");          JGFInstrumentor.addOpsToTimer("Section1:Scatter:Object",(double) size*recv_arr_obj.length);        }/* Broadcast time to the other processes */        MPI.COMM_WORLD.Barrier();        MPI.COMM_WORLD.Bcast(time,0,1,MPI.DOUBLE,0);        size *=2;      }        size /=2;/* determine the cost of the Barrier, subtract the cost and write out the performance time */      MPI.COMM_WORLD.Barrier();      if(rank==0) {        JGFInstrumentor.resetTimer("Section1:Scatter:Barrier");        JGFInstrumentor.startTimer("Section1:Scatter:Barrier");      }      for (int k=0; k<size; k++){        MPI.COMM_WORLD.Barrier();      }      if(rank==0) {        JGFInstrumentor.stopTimer("Section1:Scatter:Barrier");        b_time = JGFInstrumentor.readTimer("Section1:Scatter:Barrier");        JGFInstrumentor.addTimeToTimer("Section1:Scatter:Object", -b_time);        JGFInstrumentor.printperfTimer("Section1:Scatter:Object",recv_arr_obj.length);      }    }  }  public static void main(String[] argv) throws MPIException{  }  public JGFScatterBench(String[] argv) throws Exception {/* Initialise MPI */     MPI.Init(argv);     rank = MPI.COMM_WORLD.Rank();     nprocess = MPI.COMM_WORLD.Size();     if(rank==0){     JGFInstrumentor.printHeader(1,0,nprocess);     }     JGFScatterBench sc = new JGFScatterBench(rank, nprocess);     sc.JGFrun();/* Finalise MPI */     MPI.Finalize();  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品人人做| 国产一区视频导航| 成人精品在线视频观看| 日本一区二区免费在线| 92国产精品观看| 亚洲欧美视频在线观看视频| 91丨九色丨蝌蚪丨老版| 午夜精品一区二区三区电影天堂 | 一本色道久久综合狠狠躁的推荐| 欧美精品在线视频| 麻豆一区二区三区| 国产欧美精品国产国产专区| 日韩欧美国产一二三区| 国产在线国偷精品免费看| 国产麻豆视频精品| 成人三级伦理片| 99视频超级精品| 亚洲一区av在线| 国产亚洲综合性久久久影院| 久久久久久亚洲综合| 日本高清无吗v一区| 国产一区亚洲一区| www.av亚洲| 欧美日韩国产大片| 色婷婷av一区二区三区大白胸 | 亚洲欧美影音先锋| 717成人午夜免费福利电影| 成人福利视频在线看| 日韩主播视频在线| 国产精品高潮呻吟| 久久久综合激的五月天| 亚洲三级免费观看| 国产三级精品在线| 一区二区国产盗摄色噜噜| 亚洲日本在线视频观看| 日韩电影一二三区| 三级成人在线视频| 国产成人精品综合在线观看| 国产精品乡下勾搭老头1| 久久99精品久久久久久动态图| 亚洲午夜精品一区二区三区他趣| 亚洲欧美在线视频观看| 奇米一区二区三区av| 日本不卡一二三| 不卡视频免费播放| 日韩欧美亚洲一区二区| 一区二区三区精品在线| 国产精品一区二区果冻传媒| 正在播放亚洲一区| 综合av第一页| 成a人片亚洲日本久久| 欧美大片一区二区| 亚洲成a人片在线观看中文| 亚洲大型综合色站| 北条麻妃一区二区三区| 欧美精品一区二区久久婷婷| 欧美mv日韩mv| 中文字幕免费在线观看视频一区| 国产精品蜜臀在线观看| 亚洲图片激情小说| 岛国一区二区在线观看| 精品国产乱码久久久久久夜甘婷婷 | 精品综合久久久久久8888| 日本电影欧美片| 日韩一区有码在线| www.亚洲精品| 国产精品国产三级国产有无不卡 | 久久久亚洲精品石原莉奈| 免费成人你懂的| 欧美精品v国产精品v日韩精品| 悠悠色在线精品| 日韩精品一二三四| 欧美中文字幕不卡| 欧美sm极限捆绑bd| 九一久久久久久| 精品国产免费人成在线观看| 极品尤物av久久免费看| 337p亚洲精品色噜噜狠狠| 亚洲丶国产丶欧美一区二区三区| 欧美色老头old∨ideo| 26uuu亚洲综合色| 亚洲激情自拍视频| 欧美中文字幕一区| 日韩国产欧美在线播放| 日韩欧美国产综合| 国产一区二区三区视频在线播放| 精品999久久久| 国产成a人无v码亚洲福利| 欧美精品久久一区| 男人的j进女人的j一区| 久久婷婷久久一区二区三区| 国产a级毛片一区| 亚洲女爱视频在线| 欧美日本韩国一区二区三区视频 | 欧美国产欧美亚州国产日韩mv天天看完整| 国产一区二区三区| 国产精品亲子伦对白| av电影在线观看不卡| 亚洲自拍都市欧美小说| 日韩一区二区精品在线观看| 尤物视频一区二区| 91精品国产一区二区三区香蕉 | 欧美白人最猛性xxxxx69交| 国产一区欧美一区| 亚洲精品视频免费观看| 日韩欧美亚洲国产精品字幕久久久 | 国产精品视频一二| 欧美久久久久久久久中文字幕| 韩日欧美一区二区三区| 7777精品久久久大香线蕉 | 国产精品久久久一区麻豆最新章节| 91天堂素人约啪| 青娱乐精品在线视频| 欧美激情一区二区三区不卡 | 久久国产精品区| 在线播放中文字幕一区| 国产一区欧美二区| 一个色在线综合| 久久久亚洲精品一区二区三区| 色94色欧美sute亚洲13| 激情亚洲综合在线| 亚洲一区自拍偷拍| 欧美高清一级片在线观看| 欧美日本在线观看| 不卡的av在线播放| 久久精品国产一区二区三| 亚洲精品国产一区二区精华液| 久久久一区二区三区捆绑**| 欧美日韩一区二区不卡| 成人97人人超碰人人99| 六月丁香婷婷久久| 亚洲超丰满肉感bbw| 亚洲女人的天堂| 国产精品传媒视频| 久久久噜噜噜久久人人看| 91精品国产综合久久香蕉麻豆| 91视频.com| 成人毛片老司机大片| 国产精品一二三四| 九色|91porny| 麻豆极品一区二区三区| 日韩电影在线观看网站| 香蕉乱码成人久久天堂爱免费| 最新久久zyz资源站| 欧美激情一区二区三区全黄| 国产视频在线观看一区二区三区| 中文字幕在线视频一区| 26uuu欧美| 久久综合999| 精品国产不卡一区二区三区| 日韩一区二区影院| 欧美精品vⅰdeose4hd| 欧美日韩国产系列| 欧美精品aⅴ在线视频| 欧美日韩高清不卡| 欧美精品高清视频| 欧美精品久久久久久久久老牛影院| 欧美性感一区二区三区| 免费高清视频精品| 精品一区二区在线免费观看| 美脚の诱脚舐め脚责91| 国内久久精品视频| 国产91在线看| 97久久超碰国产精品电影| 欧美丝袜丝nylons| 3d动漫精品啪啪1区2区免费 | 欧美日韩激情一区二区| 欧美午夜片在线看| 日韩视频在线观看一区二区| 精品国产三级a在线观看| 国产精品日韩成人| 中文字幕综合网| 日本午夜精品视频在线观看| 极品美女销魂一区二区三区| 成人短视频下载| 欧美精品在线观看播放| 久久综合九色综合欧美亚洲| 国产精品二三区| 视频一区二区三区中文字幕| 国产乱码一区二区三区| 91片黄在线观看| 日韩精品一区二区三区老鸭窝| 中文字幕+乱码+中文字幕一区| 日韩二区三区四区| 国产精品99久久久久久宅男| 在线一区二区三区四区五区 | 亚洲欧美怡红院| 日韩精彩视频在线观看| 国产成人免费在线| 欧美唯美清纯偷拍| 2017欧美狠狠色| 亚洲综合清纯丝袜自拍| 韩国毛片一区二区三区| 在线精品视频免费播放| 26uuu亚洲综合色欧美| 亚洲第一在线综合网站| 成人av在线播放网址| 欧美一区二区三区喷汁尤物| 中文字幕不卡在线播放| 青青草精品视频|