X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b487d5a9259b88670b8cd97e9c16e4b000c11008..e5149b6787696e0041d192b0573dd0882a296c73:/src/mc/mc_snapshot.h diff --git a/src/mc/mc_snapshot.h b/src/mc/mc_snapshot.h index 0f46848c67..352ae8bcfc 100644 --- a/src/mc/mc_snapshot.h +++ b/src/mc/mc_snapshot.h @@ -3,22 +3,23 @@ /* 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 MC_SNAPSHOT_H +#define MC_SNAPSHOT_H + #include // off_t #include // size_t +#include +#include "../xbt/mmalloc/mmprivate.h" #include #include -#include #include "mc_forward.h" -#include "mc_page_store.h" #include "mc_model_checker.h" +#include "mc_page_store.h" #include "mc_mmalloc.h" -#ifndef MC_SNAPSHOT_H -#define MC_SNAPSHOT_H - SG_BEGIN_DECL() void mc_softdirty_reset(); @@ -150,7 +151,7 @@ typedef struct s_fd_infos{ int flags; }s_fd_infos_t, *fd_infos_t; -typedef struct s_mc_snapshot{ +struct s_mc_snapshot{ size_t heap_bytes_used; mc_mem_region_t regions[NB_REGIONS]; xbt_dynar_t enabled_processes; @@ -163,7 +164,7 @@ typedef struct s_mc_snapshot{ xbt_dynar_t ignored_data; int total_fd; fd_infos_t *current_fd; -} s_mc_snapshot_t; +}; /** @brief Process index used when no process is available *