Changeset 3396 in Sophya for trunk/SophyaProg/Tests/tmtrnd.cc
- Timestamp:
- Nov 23, 2007, 2:35:55 PM (18 years ago)
- File:
-
- 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 21 1 //-------------------------------------------------------------------------------- 22 // Programme d'exemple multi-threads et test de la classe de generateur aleatoire2 // Programme d'exemple multi-threads et test de la classe RandomGenerator de SOPHYA 23 3 // R. Ansari - C. Magneville , Novembre 2007 24 // (C) UPS+LAL IN2P3/CNRS (C) DAPNIA/SPP CEA - 20074 // SOPHYA (C) UPS+LAL IN2P3/CNRS (C) DAPNIA/SPP CEA - 2007 25 5 // Exemples de commandes pour test (dans l'ordre ci-dessous : 26 6 // csh> tmtrnd OCG 1000000 XXX … … 29 9 // csh> tmtrnd MTG 3000000 4 30 10 //-------------------------------------------------------------------------------- 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 31 32 32 33 //--------------------------------------------------------------------------------- … … 187 188 SophyaInit(); 188 189 189 // Enregistrement des handlers PPF pour les RandomGenerator190 PPRegister(ObjFileIO<RandomGenerator>);191 DObjRegister(ObjFileIO<RandomGenerator>, RandomGenerator);192 193 190 int rc = 0; 194 191 if (narg < 4) {
Note:
See TracChangeset
for help on using the changeset viewer.