Changeset 75d874a for tests


Ignore:
Timestamp:
Mar 24, 2023, 4:51:11 PM (3 years ago)
Author:
caparsons <caparson@…>
Branches:
ADT, ast-experimental, master
Children:
512d937c
Parents:
0e16a2d (diff), 1633e04 (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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

Location:
tests
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • tests/.expect/PRNG.x64.txt

    r0e16a2d r75d874a  
    11
    22                    PRNG()     PRNG(5)   PRNG(0,5)
    3        2629641414891406278           3           0
    4       11972157801652581900           3           5
    5        9470682093934978437           2           2
    6         316134424938305673           2           2
    7        5572275127081588144           0           3
    8       12394954141290188855           2           2
    9       15386440704589550620           2           1
    10        5760167266331356361           2           5
    11        8021670258373873290           2           5
    12        8813161879342109574           1           4
    13       10525294799876107814           2           0
    14       14801827301969351008           3           0
    15       17016612914230924215           0           0
    16        5485205801221744751           3           2
    17        6143666691223938511           4           0
    18       15086131934315954459           4           5
    19        4547668615176940328           4           5
    20       17718351571399359777           0           5
    21        2636252641646208341           4           0
    22       12820158953704882599           0           4
     3      13944458589275087071           3           2
     4        129977468648444256           0           4
     5       2357727400298891021           2           2
     6       8855179187835660146           3           3
     7       9957620185645882382           4           1
     8      13396406983727409795           0           5
     9       3342782395220265920           0           5
     10       1707651271867677937           1           0
     11      16402561450140881681           0           1
     12      17838519215740313729           4           2
     13       7425936020594490136           4           0
     14       4174865704721714670           3           5
     15      16055269689200152092           0           2
     16      15091270195803594018           1           5
     17      11807315541476180798           1           1
     18      10697186588988060306           4           1
     19      14665526411527044929           3           2
     20      11289342279096164771           2           5
     21      16126980828050300615           1           4
     22       7821578301767524260           4           1
    2323seed 1009
    2424
     
    3333
    3434                    prng()     prng(5)   prng(0,5)
    35        2629641414891406278           3           0
    36       11972157801652581900           3           5
    37        9470682093934978437           2           2
    38         316134424938305673           2           2
    39        5572275127081588144           0           3
    40       12394954141290188855           2           2
    41       15386440704589550620           2           1
    42        5760167266331356361           2           5
    43        8021670258373873290           2           5
    44        8813161879342109574           1           4
    45       10525294799876107814           2           0
    46       14801827301969351008           3           0
    47       17016612914230924215           0           0
    48        5485205801221744751           3           2
    49        6143666691223938511           4           0
    50       15086131934315954459           4           5
    51        4547668615176940328           4           5
    52       17718351571399359777           0           5
    53        2636252641646208341           4           0
    54       12820158953704882599           0           4
     35      13944458589275087071           3           2
     36        129977468648444256           0           4
     37       2357727400298891021           2           2
     38       8855179187835660146           3           3
     39       9957620185645882382           4           1
     40      13396406983727409795           0           5
     41       3342782395220265920           0           5
     42       1707651271867677937           1           0
     43      16402561450140881681           0           1
     44      17838519215740313729           4           2
     45       7425936020594490136           4           0
     46       4174865704721714670           3           5
     47      16055269689200152092           0           2
     48      15091270195803594018           1           5
     49      11807315541476180798           1           1
     50      10697186588988060306           4           1
     51      14665526411527044929           3           2
     52      11289342279096164771           2           5
     53      16126980828050300615           1           4
     54       7821578301767524260           4           1
    5555seed 1009
    5656
     
    6565
    6666                   prng(t)   prng(t,5) prng(t,0,5)
    67        2629641414891406278           3           0
    68       11972157801652581900           3           5
    69        9470682093934978437           2           2
    70         316134424938305673           2           2
    71        5572275127081588144           0           3
    72       12394954141290188855           2           2
    73       15386440704589550620           2           1
    74        5760167266331356361           2           5
    75        8021670258373873290           2           5
    76        8813161879342109574           1           4
    77       10525294799876107814           2           0
    78       14801827301969351008           3           0
    79       17016612914230924215           0           0
    80        5485205801221744751           3           2
    81        6143666691223938511           4           0
    82       15086131934315954459           4           5
    83        4547668615176940328           4           5
    84       17718351571399359777           0           5
    85        2636252641646208341           4           0
    86       12820158953704882599           0           4
     67      13944458589275087071           3           2
     68        129977468648444256           0           4
     69       2357727400298891021           2           2
     70       8855179187835660146           3           3
     71       9957620185645882382           4           1
     72      13396406983727409795           0           5
     73       3342782395220265920           0           5
     74       1707651271867677937           1           0
     75      16402561450140881681           0           1
     76      17838519215740313729           4           2
     77       7425936020594490136           4           0
     78       4174865704721714670           3           5
     79      16055269689200152092           0           2
     80      15091270195803594018           1           5
     81      11807315541476180798           1           1
     82      10697186588988060306           4           1
     83      14665526411527044929           3           2
     84      11289342279096164771           2           5
     85      16126980828050300615           1           4
     86       7821578301767524260           4           1
    8787seed 1009
    8888
  • tests/.expect/PRNG.x86.txt

    r0e16a2d r75d874a  
    11
    22                    PRNG()     PRNG(5)   PRNG(0,5)
    3                     130161           1           1
    4                 4074541490           0           0
    5                  927506267           0           3
    6                 1991273445           1           3
    7                  669918146           2           3
    8                  519546860           1           1
    9                 1136699882           4           3
    10                 2130185384           3           1
    11                  992239050           0           5
    12                 2250903111           0           1
    13                 1544429724           3           2
    14                 1591091660           3           3
    15                 2511657707           2           4
    16                 1065770984           2           4
    17                 2412763405           4           4
    18                 1834447239           4           2
    19                  360289337           0           4
    20                 2449452027           1           1
    21                 3370425396           2           1
    22                 3109103043           0           3
     3                2884683541           0           0
     4                3465286746           2           4
     5                3268922916           0           1
     6                2396374907           3           0
     7                2135076892           4           1
     8                 944377718           3           1
     9                2204845346           3           3
     10                3736609533           0           4
     11                4063231336           0           2
     12                1075394776           0           2
     13                 712844808           4           0
     14                4246343110           3           1
     15                3793873837           2           1
     16                3690340337           1           4
     17                 319207944           1           4
     18                1815791072           3           5
     19                2581617261           1           5
     20                3873329448           1           3
     21                 832631329           4           0
     22                 651551615           3           5
    2323seed 1009
    2424
    2525Sequential
    26 trials 100000000 buckets 100000 min 867 max 1135 avg 1000.0 std 31.7 rstd 3.2%
     26trials 100000000 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%
    2727
    2828Concurrent
    29 trials 100000000 buckets 100000 min 867 max 1135 avg 1000.0 std 31.7 rstd 3.2%
    30 trials 100000000 buckets 100000 min 867 max 1135 avg 1000.0 std 31.7 rstd 3.2%
    31 trials 100000000 buckets 100000 min 867 max 1135 avg 1000.0 std 31.7 rstd 3.2%
    32 trials 100000000 buckets 100000 min 867 max 1135 avg 1000.0 std 31.7 rstd 3.2%
     29trials 100000000 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%
     30trials 100000000 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%
     31trials 100000000 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%
     32trials 100000000 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%
    3333
    3434                    prng()     prng(5)   prng(0,5)
    35                     130161           1           1
    36                 4074541490           0           0
    37                  927506267           0           3
    38                 1991273445           1           3
    39                  669918146           2           3
    40                  519546860           1           1
    41                 1136699882           4           3
    42                 2130185384           3           1
    43                  992239050           0           5
    44                 2250903111           0           1
    45                 1544429724           3           2
    46                 1591091660           3           3
    47                 2511657707           2           4
    48                 1065770984           2           4
    49                 2412763405           4           4
    50                 1834447239           4           2
    51                  360289337           0           4
    52                 2449452027           1           1
    53                 3370425396           2           1
    54                 3109103043           0           3
     35                2884683541           0           0
     36                3465286746           2           4
     37                3268922916           0           1
     38                2396374907           3           0
     39                2135076892           4           1
     40                 944377718           3           1
     41                2204845346           3           3
     42                3736609533           0           4
     43                4063231336           0           2
     44                1075394776           0           2
     45                 712844808           4           0
     46                4246343110           3           1
     47                3793873837           2           1
     48                3690340337           1           4
     49                 319207944           1           4
     50                1815791072           3           5
     51                2581617261           1           5
     52                3873329448           1           3
     53                 832631329           4           0
     54                 651551615           3           5
    5555seed 1009
    5656
    5757Sequential
    58 trials 100000000 buckets 100000 min 867 max 1135 avg 1000.0 std 31.7 rstd 3.2%
     58trials 100000000 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%
    5959
    6060Concurrent
    61 trials 100000000 buckets 100000 min 867 max 1135 avg 1000.0 std 31.7 rstd 3.2%
    62 trials 100000000 buckets 100000 min 867 max 1135 avg 1000.0 std 31.7 rstd 3.2%
    63 trials 100000000 buckets 100000 min 867 max 1135 avg 1000.0 std 31.7 rstd 3.2%
    64 trials 100000000 buckets 100000 min 867 max 1135 avg 1000.0 std 31.7 rstd 3.2%
     61trials 100000000 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%
     62trials 100000000 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%
     63trials 100000000 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%
     64trials 100000000 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%
    6565
    6666                   prng(t)   prng(t,5) prng(t,0,5)
    67                     130161           1           1
    68                 4074541490           0           0
    69                  927506267           0           3
    70                 1991273445           1           3
    71                  669918146           2           3
    72                  519546860           1           1
    73                 1136699882           4           3
    74                 2130185384           3           1
    75                  992239050           0           5
    76                 2250903111           0           1
    77                 1544429724           3           2
    78                 1591091660           3           3
    79                 2511657707           2           4
    80                 1065770984           2           4
    81                 2412763405           4           4
    82                 1834447239           4           2
    83                  360289337           0           4
    84                 2449452027           1           1
    85                 3370425396           2           1
    86                 3109103043           0           3
     67                2884683541           0           0
     68                3465286746           2           4
     69                3268922916           0           1
     70                2396374907           3           0
     71                2135076892           4           1
     72                 944377718           3           1
     73                2204845346           3           3
     74                3736609533           0           4
     75                4063231336           0           2
     76                1075394776           0           2
     77                 712844808           4           0
     78                4246343110           3           1
     79                3793873837           2           1
     80                3690340337           1           4
     81                 319207944           1           4
     82                1815791072           3           5
     83                2581617261           1           5
     84                3873329448           1           3
     85                 832631329           4           0
     86                 651551615           3           5
    8787seed 1009
    8888
    8989Sequential
    90 trials 100000000 buckets 100000 min 867 max 1135 avg 1000.0 std 31.7 rstd 3.2%
     90trials 100000000 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%
    9191
    9292Concurrent
    93 trials 100000000 buckets 100000 min 867 max 1135 avg 1000.0 std 31.7 rstd 3.2%
    94 trials 100000000 buckets 100000 min 867 max 1135 avg 1000.0 std 31.7 rstd 3.2%
    95 trials 100000000 buckets 100000 min 867 max 1135 avg 1000.0 std 31.7 rstd 3.2%
    96 trials 100000000 buckets 100000 min 867 max 1135 avg 1000.0 std 31.7 rstd 3.2%
     93trials 100000000 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%
     94trials 100000000 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%
     95trials 100000000 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%
     96trials 100000000 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%
  • tests/.expect/nested_function.x86.txt

    r0e16a2d r75d874a  
    1 total 105
     1total 245
  • tests/concurrent/channels/parallel_harness.hfa

    r0e16a2d r75d874a  
    100100
    101101int test( size_t Processors, size_t Channels, size_t Producers, size_t Consumers, size_t ChannelSize ) {
    102     size_t Clusters = 1;
     102    size_t Clusters = Processors;
    103103    // create a cluster
    104104    cluster clus[Clusters];
     
    108108    }
    109109
    110     channels = anew( Channels );
     110    channels = aalloc( Channels );
    111111
    112112    // sout | "Processors: " | Processors | " ProdsPerChan: " | Producers | " ConsPerChan: " | Consumers | "Channels: " | Channels | " Channel Size: " | ChannelSize;
     
    150150       
    151151    }
    152     // for ( i; Channels ) {
    153     //     // sout | get_count( channels[i] );
    154     //     if ( get_count( channels[i] ) < Consumers ){
    155     //         #ifdef BIG
    156     //         bigObject b{0};
    157     //         #endif
    158     //         for ( j; Consumers ) {
    159     //             #ifdef BIG
    160     //             insert( channels[i], b );
    161     //             #else
    162     //             insert( channels[i], 0 );
    163     //             #endif
    164     //         }
    165     //     }
    166     // }
     152
    167153    sout | "cons";
    168154    for ( i; Consumers * Channels ) {
  • tests/concurrent/pthread/.expect/bounded_buffer.x64.txt

    r0e16a2d r75d874a  
    1 producer total value is 38160
    2 consumer total value is 38160
     1producer total value is 39780
     2consumer total value is 39780
  • tests/concurrent/pthread/.expect/bounded_buffer.x86.txt

    r0e16a2d r75d874a  
    1 producer total value is 45060
    2 consumer total value is 45060
     1producer total value is 1770
     2consumer total value is 1770
Note: See TracChangeset for help on using the changeset viewer.