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
add sg_comm_detach with cleaning function
[simgrid.git]
/
src
/
s4u
/
s4u_Disk.cpp
diff --git
a/src/s4u/s4u_Disk.cpp
b/src/s4u/s4u_Disk.cpp
index
f558aa8
..
d75db46
100644
(file)
--- a/
src/s4u/s4u_Disk.cpp
+++ b/
src/s4u/s4u_Disk.cpp
@@
-84,6
+84,11
@@
const char* sg_disk_name(const_sg_disk_t disk)
return disk->get_cname();
}
+sg_host_t sg_disk_get_host(const_sg_disk_t disk)
+{
+ return disk->get_host();
+}
+
double sg_disk_read_bandwidth(const_sg_disk_t disk)
{
return disk->get_read_bandwidth();