TRACE_generate_viva_cat_conf();
/* dump trace buffer */
- simgrid::instr::TRACE_last_timestamp_to_dump = surf_get_clock();
+ TRACE_last_timestamp_to_dump = surf_get_clock();
TRACE_paje_dump_buffer(1);
/* destroy all data structures of tracing (and free) */
PJ_container_free_all();
- recursiveDestroyType (PJ_type_get_root());
- PJ_container_release();
+ delete PJ_type_get_root();
rootType = nullptr;
/* close the trace files */
static void output_categories(const char* name, FILE* file)
{
- unsigned int i = simgrid::instr::created_categories.size();
+ unsigned int i = created_categories.size();
fprintf (file, " values = (");
- for (auto const& cat : simgrid::instr::created_categories) {
+ for (auto const& cat : created_categories) {
--i;
fprintf(file, "\"%s%s\"", name, cat.c_str());
if (i > 0) {
{
if (output && strlen(output) > 0){
//check if we do have categories declared
- if (simgrid::instr::created_categories.empty()) {
+ if (created_categories.empty()) {
XBT_INFO("No categories declared, ignoring generation of %s graph configuration", name);
return;
}