|
@@ -88,12 +88,11 @@ public:
|
|
|
|
|
|
#ifdef WITH_TRACE
|
|
|
utils::Trace < utils::DoubleTime >::trace()
|
|
|
- << utils::TraceElement < utils::DoubleTime >("KERNEL", -1,
|
|
|
- utils::KERNEL)
|
|
|
- << "EXTERNAL - "
|
|
|
- << dynamic_cast<T*>(this)->path(dynamic_cast<T*>(this))
|
|
|
- << " declare "
|
|
|
- << it->name;
|
|
|
+ << utils::TraceElement < utils::DoubleTime >(
|
|
|
+ dynamic_cast<T*>(this)->path(dynamic_cast<T*>(this)),
|
|
|
+ utils::DoubleTime::null,
|
|
|
+ utils::EXTERNAL_DECL)
|
|
|
+ << utils::KernelInfo(it->name, false);
|
|
|
utils::Trace < utils::DoubleTime >::trace().flush();
|
|
|
#endif
|
|
|
}
|
|
@@ -110,14 +109,13 @@ public:
|
|
|
external_names[index] = name;
|
|
|
|
|
|
#ifdef WITH_TRACE
|
|
|
- utils::Trace < utils::DoubleTime >::trace()
|
|
|
- << utils::TraceElement < utils::DoubleTime >("KERNEL", -1,
|
|
|
- utils::KERNEL)
|
|
|
- << "EXTERNAL - "
|
|
|
- << dynamic_cast<T*>(this)->path(dynamic_cast<T*>(this)) //useless submodels not added yet
|
|
|
- << " declare "
|
|
|
- << name;
|
|
|
- utils::Trace < utils::DoubleTime >::trace().flush();
|
|
|
+ utils::Trace < utils::DoubleTime >::trace()
|
|
|
+ << utils::TraceElement < utils::DoubleTime >(
|
|
|
+ dynamic_cast<T*>(this)->path(dynamic_cast<T*>(this)),
|
|
|
+ utils::DoubleTime::null,
|
|
|
+ utils::EXTERNAL_DECL)
|
|
|
+ << utils::KernelInfo(name, false);
|
|
|
+ utils::Trace < utils::DoubleTime >::trace().flush();
|
|
|
#endif
|
|
|
}
|
|
|
|
|
@@ -143,14 +141,13 @@ public:
|
|
|
}
|
|
|
|
|
|
#ifdef WITH_TRACE
|
|
|
- utils::Trace < utils::DoubleTime >::trace()
|
|
|
- << utils::TraceElement < utils::DoubleTime >("KERNEL", t,
|
|
|
- utils::KERNEL)
|
|
|
- << "PUT - "
|
|
|
- << get(index).to_string(dynamic_cast < const T* >(this))
|
|
|
- << " in "
|
|
|
- << dynamic_cast<T*>(this)->path(dynamic_cast<T*>(this)) << ":" << external_names[index];
|
|
|
- utils::Trace < utils::DoubleTime >::trace().flush();
|
|
|
+ utils::Trace < utils::DoubleTime >::trace()
|
|
|
+ << utils::TraceElement < utils::DoubleTime >(
|
|
|
+ dynamic_cast<T*>(this)->path(dynamic_cast<T*>(this)),
|
|
|
+ t, utils::PUT)
|
|
|
+ << utils::KernelInfo(external_names[index], true,
|
|
|
+ get(index).to_string(dynamic_cast < const T* >(this)));
|
|
|
+ utils::Trace < utils::DoubleTime >::trace().flush();
|
|
|
#endif
|
|
|
}
|
|
|
|