]> AND Public Git Repository - simgrid.git/blobdiff - src/instr/jedule/jedule.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move some storage-related content out of routing into storage area
[simgrid.git] / src / instr / jedule / jedule.cpp
index a687a255f2b0b52b7e42a13873ba83b0a5e60a03..ed3d6e51aa00a9690f3fda5f2e7d9dec89941fda 100644 (file)
@@ -1,15 +1,9 @@
-/* Copyright (c) 2010-2014. The SimGrid Team.
+/* Copyright (c) 2010-2016. 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. */
 
-#include "simgrid/host.h"
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
 #include "xbt/asserts.h"
 #include "simgrid/jedule/jedule.hpp"
 
@@ -32,14 +26,8 @@ void Jedule::addMetaInfo(char *key, char *value) {
   this->meta_info.insert({key, value});
 }
 
-void Jedule::cleanupOutput() {
-  for (auto evt: this->event_set)
-    delete evt;
-  this->event_set.clear();
-}
 void Jedule::writeOutput(FILE *file) {
   if (!this->event_set.empty()){
-
     fprintf(file, "<jedule>\n");
 
     if (!this->meta_info.empty()){