From 0dbb99cc5314cb03d9a34f80c88c0b5c0308133e Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Mon, 28 Aug 2017 22:15:02 +0200 Subject: [PATCH 1/1] uniformize the function names --- src/instr/instr_paje_trace.cpp | 2 +- src/instr/instr_paje_types.cpp | 2 +- src/instr/instr_private.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/instr/instr_paje_trace.cpp b/src/instr/instr_paje_trace.cpp index a263532b05..8d10295cb1 100644 --- a/src/instr/instr_paje_trace.cpp +++ b/src/instr/instr_paje_trace.cpp @@ -192,7 +192,7 @@ void TRACE_paje_end() { XBT_DEBUG("Filename %s is closed", filename); } -void DefineContainerEvent(simgrid::instr::Type* type) +void LogContainerTypeDefinition(simgrid::instr::Type* type) { XBT_DEBUG("%s: event_type=%d", __FUNCTION__, simgrid::instr::PAJE_DefineContainerType); //print it diff --git a/src/instr/instr_paje_types.cpp b/src/instr/instr_paje_types.cpp index 6fd944404f..bfd53c4174 100644 --- a/src/instr/instr_paje_types.cpp +++ b/src/instr/instr_paje_types.cpp @@ -115,7 +115,7 @@ simgrid::instr::Type* simgrid::instr::Type::containerNew(const char* name, simgr rootType = ret; } else { XBT_DEBUG("ContainerType %s(%s), child of %s(%s)", ret->name_, ret->id_, father->name_, father->id_); - DefineContainerEvent(ret); + LogContainerTypeDefinition(ret); } return ret; } diff --git a/src/instr/instr_private.h b/src/instr/instr_private.h index 6d03b70991..3b3e272b7f 100644 --- a/src/instr/instr_private.h +++ b/src/instr/instr_private.h @@ -415,7 +415,7 @@ extern instr_fmt_type_t instr_fmt_type; SG_END_DECL() -void DefineContainerEvent(simgrid::instr::Type* type); +void LogContainerTypeDefinition(simgrid::instr::Type* type); void LogVariableTypeDefinition(simgrid::instr::Type* type); void LogStateTypeDefinition(simgrid::instr::Type* type); void LogLinkTypeDefinition(simgrid::instr::Type* type, simgrid::instr::Type* source, simgrid::instr::Type* dest); -- 2.20.1