Ignore:
Timestamp:
Jun 17, 2023, 9:30:32 AM (13 months ago)
Author:
caparsons <caparson@…>
Branches:
master
Children:
77fd9fe2
Parents:
086d6b8
Message:

refactored benchmarks to use actor bar operator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/colby_parsons_MMAth/benchmarks/actors/cfa/balance.cfa

    r086d6b8 r05956d21  
    3333allocation receive( d_actor & this, start_msg & msg ) with( this ) {
    3434    for ( i; Set ) {
    35         *actor_arr[i + gstart] << shared_msg;
     35        *actor_arr[i + gstart] | shared_msg;
    3636    }
    3737    return Nodelete;
     
    4242    if ( recs % Batch == 0 ) {
    4343        for ( i; Batch ) {
    44             *actor_arr[gstart + sends % Set] << shared_msg;
     44            *actor_arr[gstart + sends % Set] | shared_msg;
    4545            sends += 1;
    4646        }
     
    163163    #ifndef MULTI
    164164        for ( i; qpw )
    165                 *actors[i * ActorsPerQueue] << start_send;
     165                *actors[i * ActorsPerQueue] | start_send;
    166166    #else
    167167    for ( i; qpw * ActorProcs ) {
    168                 *actors[i * ActorsPerQueue] << start_send;
     168                *actors[i * ActorsPerQueue] | start_send;
    169169    }
    170170    #endif
    171171   
    172172    for ( i; FillActors )
    173         *filler_actors[i] << shared_msg;
     173        *filler_actors[i] | shared_msg;
    174174
    175175    stop_actor_system();
Note: See TracChangeset for help on using the changeset viewer.