Changeset 4066bd2
- Timestamp:
- Mar 7, 2023, 2:43:27 PM (21 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- b86d14c
- Parents:
- cec2551
- 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 52 52 } // switch 53 53 54 // printf("starting\n");55 56 54 executor e{ 0, 1, 1, false, 1 }; 57 55 … … 59 57 60 58 start_time = bench_time(); 61 62 // printf("started\n");63 59 64 60 derived_msg * d_msg = malloc(); … … 68 64 *d_actor << *d_msg; 69 65 70 // printf("stopping\n");71 66 72 67 stop_actor_system(); … … 78 73 // printf("%.2f\n", ((double)(end_time - start_time)) / ((double)Times) ); // ns 79 74 80 // printf("stopped\n");81 82 75 return 0; 83 76 } -
doc/theses/colby_parsons_MMAth/benchmarks/actors/cfa/executor.cfa
rcec2551 r4066bd2 87 87 executor e{ Processors, Processors, Processors == 1 ? 1 : Processors * 512, true, BufSize }; 88 88 89 // printf("starting\n");90 89 uint64_t start_time = bench_time(); 91 90 92 91 start_actor_system( e ); 93 94 // printf("started\n");95 92 96 93 d_actor actors[ Actors ]; … … 100 97 } // for 101 98 102 // printf("stopping\n");103 104 99 stop_actor_system(); 105 100 … … 108 103 printf("%.2f\n", ((double)(end_time - start_time))*((double)1e-9) ); 109 104 110 // printf("stopped\n");111 112 105 return 0; 113 106 } -
doc/theses/colby_parsons_MMAth/benchmarks/actors/cfa/matrix.cfa
rcec2551 r4066bd2 90 90 executor e{ Processors, Processors, Processors == 1 ? 1 : Processors * 32, true }; 91 91 92 // printf("starting\n");93 94 92 uint64_t start_time = bench_time(); 95 93 96 94 start_actor_system( e ); 97 98 // printf("started\n");99 95 100 96 derived_msg messages[xr]; … … 110 106 } // for 111 107 112 // printf("stopping\n");113 114 108 stop_actor_system(); 115 109 … … 117 111 118 112 printf("%.2f\n", ((double)(end_time - start_time))*((double)1e-9) ); 119 120 // printf("stopped\n");121 113 122 114 for ( r = 0; r < xr; r += 1 ) { // deallocate X and Z matrices -
doc/theses/colby_parsons_MMAth/benchmarks/actors/cfa/static.cfa
rcec2551 r4066bd2 48 48 } // switch 49 49 50 // printf("starting\n");51 52 50 executor e{ 0, 1, 1, false, 1 }; 53 51 … … 55 53 56 54 start_time = bench_time(); 57 58 // printf("started\n");59 55 60 56 derived_msg msg; … … 64 60 actor << msg; 65 61 66 // printf("stopping\n");67 68 62 stop_actor_system(); 69 63 … … 72 66 // printf("%.2f\n", ((double)(end_time - start_time))*((double)1e-9) ); // s 73 67 74 // printf("stopped\n");75 76 68 return 0; 77 69 }
Note: See TracChangeset
for help on using the changeset viewer.