Changeset 3396 in Sophya for trunk/SophyaProg


Ignore:
Timestamp:
Nov 23, 2007, 2:35:55 PM (18 years ago)
Author:
ansari
Message:

Ajout programme test NTuple/DataTable en multi-treads, suppression enregistrement handler PPF ds tmtrnd.cc - Reza 23/11/2007

Location:
trunk/SophyaProg/Tests
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/Tests/tmtrnd.cc

    r3390 r3396  
    1 #include "sopnamsp.h"
    2 #include "zthread.h"
    3 #include "resusage.h"
    4 #include "ctimer.h"
    5 #include "timing.h"
    6 
    7 #include <stdlib.h>
    8 #include <stdio.h>
    9 #include <unistd.h>
    10 #include <string>
    11 #include <iostream>
    12 
    13 #include "tvector.h"
    14 #include "fioarr.h"
    15 #include "matharr.h"
    16 #include "tarrinit.h"
    17 
    18 #include "srandgen.h"
    19 #include "stsrand.h"
    20 
    211//--------------------------------------------------------------------------------
    22 // Programme d'exemple multi-threads et test de la classe de generateur aleatoire
     2// Programme d'exemple multi-threads et test de la classe RandomGenerator de SOPHYA
    233//   R. Ansari - C. Magneville  ,   Novembre 2007
    24 //   (C) UPS+LAL IN2P3/CNRS   (C) DAPNIA/SPP  CEA  - 2007
     4//   SOPHYA (C) UPS+LAL IN2P3/CNRS   (C) DAPNIA/SPP  CEA  - 2007   
    255// Exemples de commandes pour test (dans l'ordre ci-dessous :
    266// csh> tmtrnd OCG 1000000 XXX
     
    299// csh> tmtrnd MTG 3000000 4
    3010//--------------------------------------------------------------------------------
     11
     12#include "sopnamsp.h"
     13#include "zthread.h"
     14#include "resusage.h"
     15#include "ctimer.h"
     16#include "timing.h"
     17
     18#include <stdlib.h>
     19#include <stdio.h>
     20#include <unistd.h>
     21#include <string>
     22#include <iostream>
     23
     24#include "tvector.h"
     25#include "fioarr.h"
     26#include "matharr.h"
     27#include "tarrinit.h"
     28
     29#include "srandgen.h"
     30#include "stsrand.h"
     31
    3132
    3233//---------------------------------------------------------------------------------
     
    187188  SophyaInit();
    188189
    189   // Enregistrement des handlers PPF pour les RandomGenerator
    190   PPRegister(ObjFileIO<RandomGenerator>);
    191   DObjRegister(ObjFileIO<RandomGenerator>, RandomGenerator);
    192 
    193190  int rc = 0;
    194191  if (narg < 4) {
Note: See TracChangeset for help on using the changeset viewer.