Triton Repository branch, master, updated. f3122c10fac32e58c48ef9544a3c61f1bdc00016
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Triton Repository". The branch, master has been updated via f3122c10fac32e58c48ef9544a3c61f1bdc00016 (commit) from f6ba13d5b9c07beee9a33ae5b39c13cc42118383 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit f3122c10fac32e58c48ef9544a3c61f1bdc00016 Author: Phil Carns <[email protected]> Date: Thu Feb 24 17:41:07 2011 -0500 update noop-bench to new hint model ----------------------------------------------------------------------- Summary of changes: code/src/net/mpi/test/noop-bench.ae | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) Diff of changes: diff --git a/code/src/net/mpi/test/noop-bench.ae b/code/src/net/mpi/test/noop-bench.ae index 188df77..b91c725 100644 --- a/code/src/net/mpi/test/noop-bench.ae +++ b/code/src/net/mpi/test/noop-bench.ae @@ -36,7 +36,6 @@ __blocking void do_remote_server(void) /* run service engine to process requests */ assert(AER_DEFAULT_CTX); aer_service_engine_start(AER_DEFAULT_CTX); - fprintf(stderr, "BOOM\n"); return; } @@ -130,6 +129,7 @@ int main(int argc, char *argv[]) int provided; int server_rank = 0; int nprocs; + ae_hints_t hints; triton_addr_t server_addr; @@ -194,12 +194,14 @@ int main(int argc, char *argv[]) /* server */ /* TODO: what resources do I really need here? */ ae_context_create(&mpi_resource_ctx, "mpi", "sched", "timer"); - ret = ae_post_blocking(do_remote_server, cb, NULL, NULL, mpi_resource_ctx, &op_id); + ae_hints_init(&hints); + ret = ae_post_blocking(do_remote_server, cb, NULL, &hints, mpi_resource_ctx, &op_id); while(!done) { ae_poll(mpi_resource_ctx, 0); } + ae_hints_destroy(&hints); } else { @@ -218,8 +220,9 @@ int main(int argc, char *argv[]) printf("# starting noop test.\n"); } + ae_hints_init(&hints); test_start = MPI_Wtime(); - ret = ae_post_blocking(do_remote_noop, cb, NULL, NULL, mpi_resource_ctx, &op_id); + ret = ae_post_blocking(do_remote_noop, cb, NULL, &hints, mpi_resource_ctx, &op_id); while(!done) { @@ -227,6 +230,7 @@ int main(int argc, char *argv[]) } test_end = MPI_Wtime(); noop_elapsed = test_end - test_start; + ae_hints_destroy(&hints); sleep(2); } @@ -246,12 +250,14 @@ int main(int argc, char *argv[]) nclients, nobjects, nconcurrent, noop_min_elapsed_time, noop_elapsed_time, (double)nobjects*(double)(nclients)/noop_elapsed_time); done = 0; - ret = ae_post_blocking(do_remote_shutdown, cb, NULL, NULL, mpi_resource_ctx, &op_id); + ae_hints_init(&hints); + ret = ae_post_blocking(do_remote_shutdown, cb, NULL, &hints, mpi_resource_ctx, &op_id); while(!done) { ae_poll(mpi_resource_ctx, 0); } + ae_hints_destroy(&hints); } } hooks/post-receive -- Triton Repository
participants (1)
-
noreply@mcs.anl.gov