Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
play with mpich3 cmake files
[simgrid.git] / include / simgrid / datatypes.h
index fb3974e..035a6af 100644 (file)
@@ -1,21 +1,22 @@
-/*
- * datatypes.h
- *
- *  Created on: Nov 28, 2013
- *      Author: bedaride
- */
+/* Copyright (c) 2013-2015. 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_DATATYPES_H_
 #define SIMGRID_DATATYPES_H_
 
-typedef struct ws_params {
+#include <simgrid/forward.h>
+
+typedef struct vm_params {
   int ncpus;
   sg_size_t ramsize;
   int overcommit;
 
   /* The size of other states than memory pages, which is out-of-scope of dirty
    * page tracking. */
-  long devsize;
+  sg_size_t devsize;
   int skip_stage1;
   int skip_stage2;
   double max_downtime;
@@ -23,11 +24,8 @@ typedef struct ws_params {
   double dp_rate;
   double dp_cap; /* bytes per 1 flop execution */
 
-  double xfer_cpu_overhead;
-  double dpt_cpu_overhead;
-
   /* set migration speed */
   double mig_speed;
-} s_ws_params_t, *ws_params_t;
+} s_vm_params_t, *vm_params_t;
 
 #endif /* SIMGRID_DATATYPES_H_ */