Changeset 4066bd2


Ignore:
Timestamp:
Mar 7, 2023, 2:43:27 PM (21 months ago)
Author:
caparson <caparson@…>
Branches:
ADT, ast-experimental, master
Children:
b86d14c
Parents:
cec2551
Message:

added timing header and cleaned up benchmarks

Location:
doc/theses/colby_parsons_MMAth/benchmarks/actors/cfa
Files:
1 added
4 edited

Legend:

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

    rcec2551 r4066bd2  
    5252        } // switch
    5353
    54     // printf("starting\n");
    55 
    5654    executor e{ 0, 1, 1, false, 1 };
    5755
     
    5957
    6058    start_time = bench_time();
    61 
    62     // printf("started\n");
    6359
    6460    derived_msg * d_msg = malloc();
     
    6864    *d_actor << *d_msg;
    6965
    70     // printf("stopping\n");
    7166
    7267    stop_actor_system();
     
    7873    // printf("%.2f\n", ((double)(end_time - start_time)) / ((double)Times) ); // ns
    7974
    80     // printf("stopped\n");
    81 
    8275    return 0;
    8376}
  • doc/theses/colby_parsons_MMAth/benchmarks/actors/cfa/executor.cfa

    rcec2551 r4066bd2  
    8787    executor e{ Processors, Processors, Processors == 1 ? 1 : Processors * 512, true, BufSize };
    8888
    89     // printf("starting\n");
    9089    uint64_t start_time = bench_time();
    9190
    9291    start_actor_system( e );
    93 
    94     // printf("started\n");
    9592
    9693    d_actor actors[ Actors ];
     
    10097        } // for
    10198
    102     // printf("stopping\n");
    103 
    10499    stop_actor_system();
    105100   
     
    108103    printf("%.2f\n", ((double)(end_time - start_time))*((double)1e-9) );
    109104
    110     // printf("stopped\n");
    111 
    112105    return 0;
    113106}
  • doc/theses/colby_parsons_MMAth/benchmarks/actors/cfa/matrix.cfa

    rcec2551 r4066bd2  
    9090    executor e{ Processors, Processors, Processors == 1 ? 1 : Processors * 32, true };
    9191
    92     // printf("starting\n");
    93 
    9492    uint64_t start_time = bench_time();
    9593
    9694    start_actor_system( e );
    97 
    98     // printf("started\n");
    9995
    10096    derived_msg messages[xr];
     
    110106        } // for
    111107
    112     // printf("stopping\n");
    113 
    114108    stop_actor_system();
    115109   
     
    117111
    118112    printf("%.2f\n", ((double)(end_time - start_time))*((double)1e-9) );
    119 
    120     // printf("stopped\n");
    121113
    122114    for ( r = 0; r < xr; r += 1 ) {                                             // deallocate X and Z matrices
  • doc/theses/colby_parsons_MMAth/benchmarks/actors/cfa/static.cfa

    rcec2551 r4066bd2  
    4848        } // switch
    4949
    50     // printf("starting\n");
    51 
    5250    executor e{ 0, 1, 1, false, 1 };
    5351   
     
    5553
    5654    start_time = bench_time();
    57 
    58     // printf("started\n");
    5955
    6056    derived_msg msg;
     
    6460    actor << msg;
    6561
    66     // printf("stopping\n");
    67 
    6862    stop_actor_system();
    6963   
     
    7266    // printf("%.2f\n", ((double)(end_time - start_time))*((double)1e-9) ); // s
    7367
    74     // printf("stopped\n");
    75 
    7668    return 0;
    7769}
Note: See TracChangeset for help on using the changeset viewer.