/* platf.h - Public interface to the SimGrid platforms */
-/* Copyright (c) 2004-2013. The SimGrid Team.
+/* Copyright (c) 2004-2014. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
} e_surf_process_on_failure_t;
typedef enum {
+ SURF_CLUSTER_FAT_TREE=2,
SURF_CLUSTER_FLAT = 1,
SURF_CLUSTER_TORUS = 0
} e_surf_cluster_topology_t;
static inline char* sg_storage_name(sg_storage_t storage) {
return storage->key;
}
-/* Type for any simgrid size */
+/** @ingroup m_datatypes_management_details
+ * @brief Type for any simgrid size
+ */
typedef unsigned long long sg_size_t;
/*
const char* content;
const char* content_type;
xbt_dict_t properties;
+ const char* attach;
} s_sg_platf_storage_cbarg_t, *sg_platf_storage_cbarg_t;
#define SG_PLATF_STORAGE_INITIALIZER {NULL,NULL,NULL,NULL}
const char* content;
const char* content_type;
xbt_dict_t properties;
+ xbt_dict_t model_properties;
sg_size_t size;
} s_sg_platf_storage_type_cbarg_t, *sg_platf_storage_type_cbarg_t;
#define SG_PLATF_GPU_INITIALIZER {NULL}
+
/* ***************************************** */
XBT_PUBLIC(void) sg_platf_begin(void); // Start a new platform