Strumenti Utente

Strumenti Sito


magistraleinformaticanetworking:spm:ff29_pipefar

Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

magistraleinformaticanetworking:spm:ff29_pipefar [29/10/2013 alle 17:23 (11 anni fa)] – creata Marco Daneluttomagistraleinformaticanetworking:spm:ff29_pipefar [29/10/2013 alle 17:25 (11 anni fa)] (versione attuale) Marco Danelutto
Linea 91: Linea 91:
     pipe.add_stage(new Stage1(streamlen));     pipe.add_stage(new Stage1(streamlen));
  
-    //ff_farm<> farm; +    ff_farm<> farm; 
-    ff_ofarm farm;+    // to use an ordering farm comment the previous line and uncomment the next one 
 +    // ff_ofarm farm;
     std::vector<ff_node*> w;     std::vector<ff_node*> w;
     for(int i=0;i<nworkers;++i)     for(int i=0;i<nworkers;++i)
         w.push_back(new Stage2);         w.push_back(new Stage2);
     farm.add_workers(w);     farm.add_workers(w);
-    //farm.add_collector(NULL);+    // comment the next line in case of ordering farm 
 +    farm.add_collector(NULL);
  
     pipe.add_stage(&farm);     pipe.add_stage(&farm);
magistraleinformaticanetworking/spm/ff29_pipefar.1383067428.txt.gz · Ultima modifica: 29/10/2013 alle 17:23 (11 anni fa) da Marco Danelutto

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki