Changeset d96f7c4 for tests/concurrency/actors
- Timestamp:
- Jan 17, 2025, 3:46:34 PM (13 months ago)
- Branches:
- master, stuck-waitfor-destruct
- Children:
- df56e25
- Parents:
- 3b340d68
- Location:
- tests/concurrency/actors
- Files:
-
- 4 edited
-
dynamic.cfa (modified) (1 diff)
-
executor.cfa (modified) (1 diff)
-
matrixMultiply.cfa (modified) (1 diff)
-
static.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrency/actors/dynamic.cfa
r3b340d68 rd96f7c4 37 37 if ( strcmp( argv[1], "d" ) != 0 ) { // default ? 38 38 Times = ato( argv[1] ); 39 if ( Times < 1 ) fallthr udefault;39 if ( Times < 1 ) fallthrough default; 40 40 } // if 41 41 case 1: // use defaults -
tests/concurrency/actors/executor.cfa
r3b340d68 rd96f7c4 41 41 if ( strcmp( argv[6], "d" ) != 0 ) { // default ? 42 42 BufSize = ato( argv[6] ); 43 if ( BufSize < 0 ) fallthr udefault;43 if ( BufSize < 0 ) fallthrough default; 44 44 } // if 45 45 case 6: 46 46 if ( strcmp( argv[5], "d" ) != 0 ) { // default ? 47 47 Batch = ato( argv[5] ); 48 if ( Batch < 1 ) fallthr udefault;48 if ( Batch < 1 ) fallthrough default; 49 49 } // if 50 50 case 5: 51 51 if ( strcmp( argv[4], "d" ) != 0 ) { // default ? 52 52 Processors = ato( argv[4] ); 53 if ( Processors < 1 ) fallthr udefault;53 if ( Processors < 1 ) fallthrough default; 54 54 } // if 55 55 case 4: 56 56 if ( strcmp( argv[3], "d" ) != 0 ) { // default ? 57 57 Rounds = ato( argv[3] ); 58 if ( Rounds < 1 ) fallthr udefault;58 if ( Rounds < 1 ) fallthrough default; 59 59 } // if 60 60 case 3: 61 61 if ( strcmp( argv[2], "d" ) != 0 ) { // default ? 62 62 Set = ato( argv[2] ); 63 if ( Set < 1 ) fallthr udefault;63 if ( Set < 1 ) fallthrough default; 64 64 } // if 65 65 case 2: 66 66 if ( strcmp( argv[1], "d" ) != 0 ) { // default ? 67 67 Actors = ato( argv[1] ); 68 if ( Actors < 1 || Actors <= Set || Actors % Set != 0 ) fallthr udefault;68 if ( Actors < 1 || Actors <= Set || Actors % Set != 0 ) fallthrough default; 69 69 } // if 70 70 case 1: // use defaults -
tests/concurrency/actors/matrixMultiply.cfa
r3b340d68 rd96f7c4 39 39 if ( strcmp( argv[4], "d" ) != 0 ) { // default ? 40 40 Processors = ato( argv[4] ); 41 if ( Processors < 1 ) fallthr udefault;41 if ( Processors < 1 ) fallthrough default; 42 42 } // if 43 43 case 4: 44 44 if ( strcmp( argv[3], "d" ) != 0 ) { // default ? 45 45 xr = ato( argv[3] ); 46 if ( xr < 1 ) fallthr udefault;46 if ( xr < 1 ) fallthrough default; 47 47 } // if 48 48 case 3: 49 49 if ( strcmp( argv[2], "d" ) != 0 ) { // default ? 50 50 xc = ato( argv[2] ); 51 if ( xc < 1 ) fallthr udefault;51 if ( xc < 1 ) fallthrough default; 52 52 } // if 53 53 case 2: 54 54 if ( strcmp( argv[1], "d" ) != 0 ) { // default ? 55 55 yc = ato( argv[1] ); 56 if ( yc < 1 ) fallthr udefault;56 if ( yc < 1 ) fallthrough default; 57 57 } // if 58 58 case 1: // use defaults -
tests/concurrency/actors/static.cfa
r3b340d68 rd96f7c4 34 34 if ( strcmp( argv[1], "d" ) != 0 ) { // default ? 35 35 Times = ato( argv[1] ); 36 if ( Times < 1 ) fallthr udefault;36 if ( Times < 1 ) fallthrough default; 37 37 } // if 38 38 case 1: // use defaults
Note:
See TracChangeset
for help on using the changeset viewer.