X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/242fde5e8077f8193db4df5f262a9672085c8d8a..063ee2aabef6b7ae8f82c39ad7c00f6d2c74f2d5:/include/simgrid/datatypes.h diff --git a/include/simgrid/datatypes.h b/include/simgrid/datatypes.h index 3a407d8832..815e9370d5 100644 --- a/include/simgrid/datatypes.h +++ b/include/simgrid/datatypes.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2014. The SimGrid Team. +/* Copyright (c) 2013-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -7,7 +7,9 @@ #ifndef SIMGRID_DATATYPES_H_ #define SIMGRID_DATATYPES_H_ -typedef struct vm_params { +#include "simgrid/forward.h" + +struct vm_params { int ncpus; sg_size_t ramsize; int overcommit; @@ -19,11 +21,13 @@ typedef struct vm_params { int skip_stage2; double max_downtime; - double dp_rate; + double dp_intensity; // Percentage of pages that get dirty compared to netspeed [0;1] double dp_cap; /* bytes per 1 flop execution */ /* set migration speed */ double mig_speed; -} s_vm_params_t, *vm_params_t; +}; +typedef struct vm_params s_vm_params_t; +typedef struct vm_params* vm_params_t; #endif /* SIMGRID_DATATYPES_H_ */