1 /* Copyright (c) 2004-2019. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
9 #include "simgrid/forward.h"
10 #include "src/kernel/resource/profile/Profile.hpp"
11 #include "xbt/sysdep.h"
16 extern XBT_PRIVATE simgrid::kernel::profile::FutureEvtSet future_evt_set;
19 * @brief Free a trace event structure
21 * This function frees a trace_event if it can be freed, ie, if it has the free_me flag set to 1.
22 * This flag indicates whether the structure is still used somewhere or not.
23 * When the structure is freed, the argument is set to nullptr
25 XBT_PUBLIC void tmgr_trace_event_unref(simgrid::kernel::profile::Event** trace_event);
26 XBT_PUBLIC void tmgr_finalize();
28 #endif /* SURF_PMGR_H */