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
Merge pull request #190 from Takishipp/clean_events
[simgrid.git]
/
src
/
instr
/
instr_paje_trace.cpp
diff --git
a/src/instr/instr_paje_trace.cpp
b/src/instr/instr_paje_trace.cpp
index
5ef6fb4
..
6513685
100644
(file)
--- a/
src/instr/instr_paje_trace.cpp
+++ b/
src/instr/instr_paje_trace.cpp
@@
-271,24
+271,13
@@
if (instr_fmt_type == instr_fmt_paje) {
}
}
-
DefineEventTypeEvent::DefineEventTypeEvent
(type_t type)
+
void LogDefineEventType
(type_t type)
{
{
- this->event_type = PAJE_DefineEventType;
- this->timestamp = 0;
- this->type = type;
-
- XBT_DEBUG("%s: event_type=%d", __FUNCTION__, (int)event_type);
-
//print it
//print it
- print();
-}
-
-
-void DefineEventTypeEvent::print() {
if (instr_fmt_type == instr_fmt_paje) {
if (instr_fmt_type == instr_fmt_paje) {
- XBT_DEBUG("%s: event_type=%d, timestamp=%.*f", __FUNCTION__,
(int)event_type, TRACE_precision(), timestamp
);
+ XBT_DEBUG("%s: event_type=%d, timestamp=%.*f", __FUNCTION__,
PAJE_DefineEventType, TRACE_precision(), 0.
);
stream << std::fixed << std::setprecision(TRACE_precision());
stream << std::fixed << std::setprecision(TRACE_precision());
- stream <<
(int)this->event_t
ype;
+ stream <<
PAJE_DefineEventT
ype;
stream << " " << type->id << " " << type->father->id << " " << type->name;
print_row();
} else if (instr_fmt_type == instr_fmt_TI) {
stream << " " << type->id << " " << type->father->id << " " << type->name;
print_row();
} else if (instr_fmt_type == instr_fmt_TI) {