A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[trace] registering the tracing categories of mpi processes in dictionary
[simgrid.git]
/
src
/
smpi
/
smpi_pmpi.c
diff --git
a/src/smpi/smpi_pmpi.c
b/src/smpi/smpi_pmpi.c
index
581cd1d
..
6749928
100644
(file)
--- a/
src/smpi/smpi_pmpi.c
+++ b/
src/smpi/smpi_pmpi.c
@@
-17,19
+17,7
@@
void TRACE_smpi_set_category(const char *category)
{
//need to end bench otherwise categories for execution tasks are wrong
smpi_bench_end();
- int ret;
- if (!TRACE_is_enabled()){
- ret = 1;
- }else{
- if (category != NULL) {
- ret = TRACE_category(category);
- TRACE_category_set(SIMIX_process_self(), category);
- }else{
- //if category is NULL, trace of platform is disabled for this process
- TRACE_category_unset(SIMIX_process_self());
- ret = 0;
- }
- }
+ TRACE_internal_smpi_set_category (category);
//begin bench after changing process's category
smpi_bench_begin();
}