Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cleanup after the split of kernel/resource/profile into several classes
[simgrid.git] / src / kernel / resource / profile / FutureEvtSet.hpp
index f565f0a..a324d57 100644 (file)
@@ -3,10 +3,12 @@
 /* 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. */
 
-#include <queue>
 #ifndef FUTUREEVTSET_HPP
 #define FUTUREEVTSET_HPP
 
+#include "simgrid/forward.h"
+#include <queue>
+
 namespace simgrid {
 namespace kernel {
 namespace profile {
@@ -28,8 +30,11 @@ private:
   std::priority_queue<Qelt, std::vector<Qelt>, std::greater<Qelt>> heap_;
 };
 
+// FIXME: kill that singleton
+extern XBT_PRIVATE simgrid::kernel::profile::FutureEvtSet future_evt_set;
+
 } // namespace profile
 } // namespace kernel
 } // namespace simgrid
 
-#endif
\ No newline at end of file
+#endif