A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
give SimDag the ability to retrieve the amount of cores per host
[simgrid.git]
/
include
/
simdag
/
simdag.h
diff --git
a/include/simdag/simdag.h
b/include/simdag/simdag.h
index
4f2a3e5
..
31ed69d
100644
(file)
--- a/
include/simdag/simdag.h
+++ b/
include/simdag/simdag.h
@@
-83,6
+83,7
@@
XBT_PUBLIC(int) SD_route_get_size(SD_workstation_t src,
XBT_PUBLIC(double) SD_workstation_get_power(SD_workstation_t workstation);
XBT_PUBLIC(double) SD_workstation_get_available_power(SD_workstation_t
workstation);
XBT_PUBLIC(double) SD_workstation_get_power(SD_workstation_t workstation);
XBT_PUBLIC(double) SD_workstation_get_available_power(SD_workstation_t
workstation);
+XBT_PUBLIC(int) SD_workstation_get_cores(SD_workstation_t workstation);
XBT_PUBLIC(e_SD_workstation_access_mode_t)
SD_workstation_get_access_mode(SD_workstation_t workstation);
XBT_PUBLIC(void) SD_workstation_set_access_mode(SD_workstation_t
XBT_PUBLIC(e_SD_workstation_access_mode_t)
SD_workstation_get_access_mode(SD_workstation_t workstation);
XBT_PUBLIC(void) SD_workstation_set_access_mode(SD_workstation_t
@@
-106,7
+107,10
@@
XBT_PUBLIC(double) SD_route_get_communication_time(SD_workstation_t src,
XBT_PUBLIC(SD_task_t) SD_workstation_get_current_task(SD_workstation_t
workstation);
XBT_PUBLIC(xbt_dict_t)
XBT_PUBLIC(SD_task_t) SD_workstation_get_current_task(SD_workstation_t
workstation);
XBT_PUBLIC(xbt_dict_t)
- SD_workstation_get_storage_list(SD_workstation_t workstation);
+ SD_workstation_get_mounted_storage_list(SD_workstation_t workstation);
+XBT_PUBLIC(xbt_dynar_t)
+ SD_workstation_get_attached_storage_list(SD_workstation_t workstation);
+XBT_PUBLIC(const char*) SD_storage_get_host(SD_storage_t storage);
/** @} */
/************************** Task handling ************************************/
/** @} */
/************************** Task handling ************************************/