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

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

?? jgfgatherbench.java

?? MPI for java for Distributed Programming
?? JAVA
字號(hào):
/***************************************************************************                                                                         **         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 JGFGatherBench 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 = 25;  private static final int SMAX = 5000000;  private static final int SMIN = 4 ;   public JGFGatherBench(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);/* Gather an array of doubles *//* Create the timers */       if(rank==0){        JGFInstrumentor.addTimer("Section1:Gather:Double", "bytes");        JGFInstrumentor.addTimer("Section1:Gather: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 [] send_arr = new double[m_size];      double [] recv_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:Gather:Double");          JGFInstrumentor.startTimer("Section1:Gather:Double");        }/* Carryout the broadcast operation */        for (int k=0; k<size; k++){          MPI.COMM_WORLD.Gather(send_arr,0,send_arr.length,MPI.DOUBLE,recv_arr,0,send_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:Gather:Double");           time[0] = JGFInstrumentor.readTimer("Section1:Gather:Double");           JGFInstrumentor.addOpsToTimer("Section1:Gather:Double",(double) size*send_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:Gather:Barrier");        JGFInstrumentor.startTimer("Section1:Gather:Barrier");      }      for (int k=0; k<size; k++){        MPI.COMM_WORLD.Barrier();      }      if(rank==0) {        JGFInstrumentor.stopTimer("Section1:Gather:Barrier");        b_time = JGFInstrumentor.readTimer("Section1:Gather:Barrier");        JGFInstrumentor.addTimeToTimer("Section1:Gather:Double", -b_time);        JGFInstrumentor.printperfTimer("Section1:Gather:Double",send_arr.length);       }    }/* Gather an array of objects containing a double *//* Create the timer */    if(rank==0){      JGFInstrumentor.addTimer("Section1:Gather: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 [] send_arr_obj = new obj_double[m_size];      obj_double [] recv_arr_obj = new obj_double[m_size*nprocess];      for(int k=0;k<m_size;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:Gather:Object");          JGFInstrumentor.startTimer("Section1:Gather:Object");        }/* Carryout the broadcast operation */        for (int k=0; k<size; k++){          MPI.COMM_WORLD.Gather(send_arr_obj,0,send_arr_obj.length,MPI.OBJECT,recv_arr_obj,0,send_arr_obj.length,MPI.OBJECT,0);          MPI.COMM_WORLD.Barrier();        }/* Stop the timer */        if(rank==0){          JGFInstrumentor.stopTimer("Section1:Gather:Object");          time[0] = JGFInstrumentor.readTimer("Section1:Gather:Object");          JGFInstrumentor.addOpsToTimer("Section1:Gather:Object",(double) size*send_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:Gather:Barrier");        JGFInstrumentor.startTimer("Section1:Gather:Barrier");      }      for (int k=0; k<size; k++){        MPI.COMM_WORLD.Barrier();      }      if(rank==0) {        JGFInstrumentor.stopTimer("Section1:Gather:Barrier");        b_time = JGFInstrumentor.readTimer("Section1:Gather:Barrier");        JGFInstrumentor.addTimeToTimer("Section1:Gather:Object", -b_time);        JGFInstrumentor.printperfTimer("Section1:Gather:Object",send_arr_obj.length);      }    }  }  public static void main(String[] argv) throws MPIException{  }  public JGFGatherBench(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);     }     JGFGatherBench ga = new JGFGatherBench(rank, nprocess);     ga.JGFrun();/* Finalise MPI */     MPI.Finalize();  }}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲天堂福利av| 亚洲成a人v欧美综合天堂| 一本色道a无线码一区v| 日韩高清在线观看| 中日韩av电影| 欧美不卡一区二区| 日韩三级高清在线| 色乱码一区二区三区88| 国产精品99久| 久久国产生活片100| 亚洲精品成a人| 国产日韩欧美精品电影三级在线 | 成人午夜av在线| 日韩影院免费视频| 亚洲免费观看高清在线观看| 国产亚洲综合色| 欧美成人精品1314www| 欧美日韩三级在线| 91激情五月电影| 99视频精品全部免费在线| 国产精品一区二区三区网站| 男女性色大片免费观看一区二区| 亚洲精品成a人| 亚洲天堂2014| 中文字幕在线播放不卡一区| 久久免费国产精品| 欧美va亚洲va在线观看蝴蝶网| 欧美精品自拍偷拍动漫精品| 在线日韩av片| 91网站最新地址| 99久久久国产精品免费蜜臀| 成人综合婷婷国产精品久久蜜臀| 精品综合久久久久久8888| 看片的网站亚洲| 美女脱光内衣内裤视频久久影院| 日韩激情在线观看| 婷婷中文字幕一区三区| 亚洲国产精品自拍| 亚洲第一综合色| 三级一区在线视频先锋| 日韩电影在线一区二区三区| 午夜a成v人精品| 免费看日韩a级影片| 美脚の诱脚舐め脚责91 | 最新日韩av在线| 成人欧美一区二区三区1314| 亚洲男同性视频| 一区二区三区四区高清精品免费观看| 国产精品二三区| 亚洲黄色免费网站| 午夜精品成人在线视频| 日韩国产精品91| 韩国成人在线视频| 成人激情av网| 在线精品国精品国产尤物884a| 欧美视频在线不卡| 日韩欧美国产一二三区| 久久久天堂av| 亚洲女女做受ⅹxx高潮| 亚洲第一成年网| 久久精品国产999大香线蕉| 国产精品亚洲一区二区三区妖精| 国产成人av福利| 91视频com| 91精品国产色综合久久| 久久综合狠狠综合久久综合88| 欧美国产精品一区二区| 亚洲精品免费在线观看| 日本网站在线观看一区二区三区 | 综合久久综合久久| 婷婷国产在线综合| 国产成人亚洲综合a∨婷婷| 色婷婷综合激情| 精品成a人在线观看| 欧美国产精品久久| 亚洲影视在线播放| 国产在线观看一区二区| 9色porny自拍视频一区二区| 欧美欧美欧美欧美首页| 久久久久国产精品麻豆ai换脸| 亚洲欧美日本韩国| 久久超碰97人人做人人爱| 91女厕偷拍女厕偷拍高清| 欧美一区二区在线观看| 中文字幕一区在线观看视频| 肉肉av福利一精品导航| 成人sese在线| 日韩天堂在线观看| 亚洲男人的天堂在线观看| 久久成人麻豆午夜电影| 91福利视频久久久久| 欧美精品一区二区三区高清aⅴ| 亚洲精品亚洲人成人网在线播放| 国内精品国产成人| 欧美三级电影在线看| 国产精品麻豆欧美日韩ww| 免费成人在线观看| 欧美日韩一区成人| 亚洲视频在线一区观看| 激情文学综合网| 91精品黄色片免费大全| 一区二区三区色| 成人激情校园春色| 精品免费国产二区三区 | 亚洲一线二线三线久久久| 国产一区二区剧情av在线| 欧美日韩亚洲不卡| 中文字幕一区二区三区在线播放| 久久精品国产亚洲5555| 欧美军同video69gay| 国产日韩一级二级三级| 日韩成人午夜电影| 欧美系列在线观看| 国产精品乱码人人做人人爱| 国产一区二区三区精品欧美日韩一区二区三区| 欧美日韩精品一区二区三区四区| 国产精品乱子久久久久| 懂色一区二区三区免费观看 | 国产午夜精品一区二区三区视频 | 美腿丝袜在线亚洲一区| 欧美日韩精品一区二区三区蜜桃 | 中文字幕一区二区5566日韩| 国产伦精品一区二区三区免费迷| 欧美高清视频在线高清观看mv色露露十八| 中文字幕一区二区三区在线播放| 国产成人av电影| 日本一区二区三级电影在线观看 | 欧美日韩在线播放三区| 亚洲综合区在线| 色系网站成人免费| 亚洲欧美一区二区不卡| 不卡一二三区首页| 中文字幕亚洲在| 色诱视频网站一区| 亚洲免费观看高清完整| 波多野结衣中文一区| 国产精品久久久爽爽爽麻豆色哟哟| 韩国女主播一区二区三区| 久久免费午夜影院| 国产美女在线精品| 日本一二三四高清不卡| 成人精品免费看| 成人免费小视频| 欧美中文字幕亚洲一区二区va在线 | 欧美一级视频精品观看| 视频一区二区三区在线| 日韩欧美中文字幕公布| 激情综合网av| 国产精品免费视频观看| 91亚洲男人天堂| 亚洲免费观看在线视频| 欧美日韩国产综合一区二区三区| 天天综合网 天天综合色| 欧美一区二区三区婷婷月色| 久久国产欧美日韩精品| 国产日韩精品一区二区浪潮av | 亚洲电影在线播放| 7777精品伊人久久久大香线蕉| 免费成人小视频| 欧美国产亚洲另类动漫| 91福利精品视频| 久久精品国产99久久6| 国产精品无码永久免费888| 色婷婷av久久久久久久| 日本系列欧美系列| 国产欧美日韩在线| 欧美性色综合网| 精品亚洲成a人在线观看| 亚洲欧美一区二区视频| 91 com成人网| 国产精品亚洲综合一区在线观看| 亚洲欧洲三级电影| 欧美一级日韩免费不卡| 成人涩涩免费视频| 天堂影院一区二区| 欧美激情一区三区| 欧美精品日韩精品| hitomi一区二区三区精品| 天天影视涩香欲综合网| 欧美国产日韩一二三区| 欧美精品久久一区| 成人av动漫在线| 青青草一区二区三区| 一区精品在线播放| 精品国产免费人成在线观看| 99久久国产综合色|国产精品| 奇米综合一区二区三区精品视频| 国产精品萝li| 日韩欧美一级二级三级| 91久久精品一区二区| 国产美女一区二区三区| 性久久久久久久| 亚洲欧美综合色| 久久伊人中文字幕| 欧美精品免费视频| 色哟哟一区二区三区| 国产一区二区久久| 日韩高清在线一区| 亚洲一区二区精品久久av| 国产精品福利一区二区三区|