XBT_DEBUG("%s: event_type=%d", __FUNCTION__, (int)event_type);
//print it
print ();
+ delete this;
}
void DefineContainerEvent::print() {
- if (instr_fmt_type == instr_fmt_paje) {
- XBT_DEBUG("%s: event_type=%d, timestamp=%.*f", __FUNCTION__, (int)event_type, TRACE_precision(), timestamp);
- stream << std::fixed << std::setprecision(TRACE_precision());
- stream << (int)this->event_type;
- stream << " " << type->id << " " << type->father->id << " " << type->name;
- print_row();
- } else if (instr_fmt_type == instr_fmt_TI) {
- /* Nothing to do */
- } else {
- THROW_IMPOSSIBLE;
- }
+ if (instr_fmt_type == instr_fmt_paje) {
+ XBT_DEBUG("%s: event_type=%d, timestamp=%.*f", __FUNCTION__, (int)event_type, TRACE_precision(), timestamp);
+ stream << std::fixed << std::setprecision(TRACE_precision());
+ stream << (int)this->event_type;
+ stream << " " << type->id
+ << " " << type->father->id
+ << " " << type->name;
+ print_row();
+ } else if (instr_fmt_type == instr_fmt_TI) {
+ /* Nothing to do */
+ } else {
+ THROW_IMPOSSIBLE;
+ }
}
//print it
print ();
+ delete this;
}
void DefineVariableTypeEvent::print() {
//print it
print();
+ delete this;
}
//print it
print();
+ delete this;
}
void DefineLinkTypeEvent::print() {
//print it
print();
+ delete this;
}
XBT_DEBUG("%s: event_type=%d, timestamp=%f", __FUNCTION__, (int)event_type, this->timestamp);
print();
+ delete this;
}
void CreateContainerEvent::print() {
XBT_DEBUG("%s: event_type=%d, timestamp=%f", __FUNCTION__, (int)event_type, this->timestamp);
print();
+ delete this;
}
void DestroyContainerEvent::print() {
XBT_DEBUG("%s: event_type=%d, timestamp=%f", __FUNCTION__, (int)event_type, this->timestamp);
insert_into_buffer (this);
+ delete [] this;
}
void ResetStateEvent::print() {