Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix make dist, stupid f*** bummer
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 31 May 2019 13:22:21 +0000 (15:22 +0200)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 31 May 2019 13:22:21 +0000 (15:22 +0200)
src/kernel/resource/profile/Event.hpp [new file with mode: 0644]
tools/cmake/DefinePackages.cmake

diff --git a/src/kernel/resource/profile/Event.hpp b/src/kernel/resource/profile/Event.hpp
new file mode 100644 (file)
index 0000000..576e92e
--- /dev/null
@@ -0,0 +1,34 @@
+/* Copyright (c) 2004-2019. The SimGrid Team. All rights reserved.          */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
+#ifndef SIMGRID_KERNEL_PROFILE_EVENT_HPP
+#define SIMGRID_KERNEL_PROFILE_EVENT_HPP
+
+#include "simgrid/forward.h"
+
+namespace simgrid {
+namespace kernel {
+namespace profile {
+
+class Event {
+public:
+  Profile* profile;
+  unsigned int idx;
+  resource::Resource* resource;
+  bool free_me;
+};
+} // namespace profile
+} // namespace kernel
+} // namespace simgrid
+/**
+ * @brief Free a trace event structure
+ *
+ * This function frees a trace_event if it can be freed, ie, if it has the free_me flag set to 1.
+ * This flag indicates whether the structure is still used somewhere or not.
+ * When the structure is freed, the argument is set to nullptr
+ */
+XBT_PUBLIC void tmgr_trace_event_unref(simgrid::kernel::profile::Event** trace_event);
+
+#endif // SIMGRID_KERNEL_PROFILE_EVENT_HPP
index d42372c..3827aad 100644 (file)
@@ -872,6 +872,7 @@ set(DOC_SOURCES
   docs/source/conf.py
   docs/source/Doxyfile
   docs/source/_ext/hidden_code_block.py
   docs/source/conf.py
   docs/source/Doxyfile
   docs/source/_ext/hidden_code_block.py
+  docs/source/_templates/breadcrumbs.html
 
   docs/source/img/eclipseScreenShot.png
   docs/source/img/extlink.png
 
   docs/source/img/eclipseScreenShot.png
   docs/source/img/extlink.png