int MPI_Init(int* argc, char*** argv) {
smpi_process_init(argc, argv);
- smpi_bench_begin();
+ smpi_bench_begin(NULL);
return MPI_SUCCESS;
}
*provided = MPI_THREAD_MULTIPLE;
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Query_thread");
return retval;
}
*flag = smpi_process_index() == 0;
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Is_thread_main");
return retval;
}
smpi_bench_end();
time = SIMIX_get_clock();
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Wtime");
return time;
}
*size = smpi_datatype_size(datatype);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Type_size");
return retval;
}
} else {
retval = smpi_datatype_extent(datatype, lb, extent);
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Type_get_extent");
return retval;
}
*disp = smpi_datatype_lb(datatype);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Type_lb");
return retval;
}
*disp = smpi_datatype_ub(datatype);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Type_ub");
return retval;
}
*op = smpi_op_new(function, commute);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Op_create");
return retval;
}
*op = MPI_OP_NULL;
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Op_free");
return retval;
}
*group = MPI_GROUP_NULL;
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Group_free");
return retval;
}
*size = smpi_group_size(group);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Group_size");
return retval;
}
*rank = smpi_group_rank(group, smpi_process_index());
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Group_rank");
return retval;
}
}
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Group_translate_ranks");
return retval;
}
*result = smpi_group_compare(group1, group2);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Group_compare");
return retval;
}
smpi_group_use(*newgroup);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Group_union");
return retval;
}
smpi_group_use(*newgroup);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Group_intersection");
return retval;
}
smpi_group_use(*newgroup);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Group_difference");
return retval;
}
smpi_group_use(*newgroup);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Group_incl");
return retval;
}
smpi_group_use(*newgroup);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Group_excl");
return retval;
}
smpi_group_use(*newgroup);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Group_range_incl");
return retval;
}
smpi_group_use(*newgroup);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Group_range_excl");
return retval;
}
*rank = smpi_comm_rank(comm);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Comm_rank");
return retval;
}
*size = smpi_comm_size(comm);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Comm_size");
return retval;
}
*group = smpi_comm_group(comm);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Comm_group");
return retval;
}
}
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Comm_compare");
return retval;
}
*newcomm = smpi_comm_new(smpi_comm_group(comm));
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Comm_dup");
return retval;
}
*newcomm = smpi_comm_new(group);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Comm_create");
return retval;
}
*comm = MPI_COMM_NULL;
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Comm_free");
return retval;
}
*request = smpi_mpi_irecv(buf, count, datatype, src, tag, comm);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Irecv");
return retval;
}
*request = smpi_mpi_isend(buf, count, datatype, dst, tag, comm);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Isend");
return retval;
}
int MPI_Recv(void* buf, int count, MPI_Datatype datatype, int src, int tag, MPI_Comm comm, MPI_Status* status) {
smpi_bench_end();
smpi_mpi_recv(buf, count, datatype, src, tag, comm, status);
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Recv");
return MPI_SUCCESS;
}
int MPI_Send(void* buf, int count, MPI_Datatype datatype, int dst, int tag, MPI_Comm comm) {
smpi_bench_end();
smpi_mpi_send(buf, count, datatype, dst, tag, comm);
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Send");
return MPI_SUCCESS;
}
int MPI_Sendrecv(void* sendbuf, int sendcount, MPI_Datatype sendtype, int dst, int sendtag, void* recvbuf, int recvcount, MPI_Datatype recvtype, int src, int recvtag, MPI_Comm comm, MPI_Status* status) {
smpi_bench_end();
smpi_mpi_sendrecv(sendbuf, sendcount, sendtype, dst, sendtag, recvbuf, recvcount, recvtype, src, recvtag, comm, status);
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Sendrecv");
return MPI_SUCCESS;
}
*flag = smpi_mpi_test(request, status);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Test");
return retval;
}
*flag = smpi_mpi_testany(count, requests, index, status);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Testany");
return retval;
}
smpi_mpi_wait(request, status);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Wait");
return retval;
}
*index = smpi_mpi_waitany(count, requests, status);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Waitany");
return retval;
}
int MPI_Waitall(int count, MPI_Request requests[], MPI_Status status[]) {
smpi_bench_end();
smpi_mpi_waitall(count, requests, status);
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Waitall");
return MPI_SUCCESS;
}
*outcount = smpi_mpi_waitsome(incount, requests, indices, status);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Waitsome");
return retval;
}
smpi_mpi_bcast(buf, count, datatype, root, comm);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Bcast");
return retval;
}
smpi_mpi_barrier(comm);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Barrier");
return retval;
}
smpi_mpi_gather(sendbuf, sendcount, sendtype, recvbuf, recvcount, recvtype, root, comm);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Gather");
return retval;
}
smpi_mpi_gatherv(sendbuf, sendcount, sendtype, recvbuf, recvcounts, displs, recvtype, root, comm);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Gatherv");
return retval;
}
smpi_mpi_allgather(sendbuf, sendcount, sendtype, recvbuf, recvcount, recvtype, comm);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Allgather");
return retval;
}
smpi_mpi_allgatherv(sendbuf, sendcount, sendtype, recvbuf, recvcounts, displs, recvtype, comm);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Allgatherv");
return retval;
}
smpi_mpi_scatter(sendbuf, sendcount, sendtype, recvbuf, recvcount, recvtype, root, comm);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Scatter");
return retval;
}
smpi_mpi_scatterv(sendbuf, sendcounts, displs, sendtype, recvbuf, recvcount, recvtype, root, comm);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Scatterv");
return retval;
}
smpi_mpi_reduce(sendbuf, recvbuf, count, datatype, op, root, comm);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Reduce");
return retval;
}
smpi_mpi_allreduce(sendbuf, recvbuf, count, datatype, op, comm);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Allreduce");
return retval;
}
xbt_free(displs);
retval = MPI_SUCCESS;
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Reduce_scatter");
return retval;
}
retval = smpi_coll_tuned_alltoall_pairwise(sendbuf, sendcount, sendtype, recvbuf, recvcount, recvtype, comm);
}
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Alltoall");
return retval;
}
} else {
retval = smpi_coll_basic_alltoallv(sendbuf, sendcounts, senddisps, sendtype, recvbuf, recvcounts, recvdisps, recvtype, comm);
}
- smpi_bench_begin();
+ smpi_bench_begin("MPI_Alltoallv");
return retval;
}