Changeset 2dcd80a for tests/PRNG.cfa
- Timestamp:
- Dec 14, 2022, 12:23:42 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 441a6a7
- Parents:
- 7d9598d8 (diff), d8bdf13 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/PRNG.cfa
r7d9598d8 r2dcd80a 8 8 // Created On : Wed Dec 29 09:38:12 2021 9 9 // Last Modified By : Peter A. Buhr 10 // Last Modified On : Sat Apr 9 15:21:14202211 // Update Count : 3 4410 // Last Modified On : Tue Nov 22 22:51:12 2022 11 // Update Count : 381 12 12 // 13 13 … … 22 22 #include <mutex_stmt.hfa> 23 23 24 #ifdef __x86_64__ // 64-bit architecture 25 #define PRNG PRNG64 26 #else // 32-bit architecture 27 #define PRNG PRNG32 28 #endif // __x86_64__ 29 24 30 #ifdef TIME // use -O2 -nodebug 25 31 #define STARTTIME start = timeHiRes() … … 54 60 55 61 56 u int32_t seed = 1009;62 unsigned int seed = 1009; 57 63 58 64 thread T1 {}; … … 158 164 #if 1 159 165 PRNG prng; 166 160 167 if ( seed != 0 ) set_seed( prng, seed ); 161 168
Note:
See TracChangeset
for help on using the changeset viewer.