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
[SGpp] make MSG_HOST_LEVEL private
[simgrid.git]
/
src
/
msg
/
msg_io.c
diff --git
a/src/msg/msg_io.c
b/src/msg/msg_io.c
index a35e59899b75e382e6b2c56c4cc218da6c8f4537..efee6ce7eeb4ef3155ade22fed74c9fc21cef4cf 100644
(file)
--- a/
src/msg/msg_io.c
+++ b/
src/msg/msg_io.c
@@
-111,10
+111,10
@@
sg_size_t MSG_file_read(msg_file_t fd, sg_size_t size)
m_host_list[0] = MSG_host_self();
m_host_list[1] = attached_host;
m_host_list[0] = MSG_host_self();
m_host_list[1] = attached_host;
- double
computation
_amount[] = { 0, 0 };
- double
communication
_amount[] = { 0, 0, (double)read_size, 0 };
+ double
flops
_amount[] = { 0, 0 };
+ double
bytes
_amount[] = { 0, 0, (double)read_size, 0 };
- msg_task_t task = MSG_parallel_task_create("file transfer for read", 2, m_host_list,
computation_amount, communication
_amount, NULL);
+ msg_task_t task = MSG_parallel_task_create("file transfer for read", 2, m_host_list,
flops_amount, bytes
_amount, NULL);
msg_error_t transfer = MSG_parallel_task_execute(task);
MSG_task_destroy(task);
free(m_host_list);
msg_error_t transfer = MSG_parallel_task_execute(task);
MSG_task_destroy(task);
free(m_host_list);
@@
-155,10
+155,10
@@
sg_size_t MSG_file_write(msg_file_t fd, sg_size_t size)
m_host_list[0] = MSG_host_self();
m_host_list[1] = attached_host;
m_host_list[0] = MSG_host_self();
m_host_list[1] = attached_host;
- double
computation
_amount[] = { 0, 0 };
- double
communication
_amount[] = { 0, (double)size, 0, 0 };
+ double
flops
_amount[] = { 0, 0 };
+ double
bytes
_amount[] = { 0, (double)size, 0, 0 };
- msg_task_t task = MSG_parallel_task_create("file transfer for write", 2, m_host_list,
computation_amount, communication
_amount, NULL);
+ msg_task_t task = MSG_parallel_task_create("file transfer for write", 2, m_host_list,
flops_amount, bytes
_amount, NULL);
msg_error_t transfer = MSG_parallel_task_execute(task);
MSG_task_destroy(task);
free(m_host_list);
msg_error_t transfer = MSG_parallel_task_execute(task);
MSG_task_destroy(task);
free(m_host_list);
@@
-366,10
+366,10
@@
msg_error_t MSG_file_rcopy (msg_file_t file, msg_host_t host, const char* fullpa
m_host_list[0] = attached_host;
m_host_list[1] = host_dest;
m_host_list[0] = attached_host;
m_host_list[1] = host_dest;
- double
computation
_amount[] = { 0, 0 };
- double
communication
_amount[] = { 0, (double)read_size, 0, 0 };
+ double
flops
_amount[] = { 0, 0 };
+ double
bytes
_amount[] = { 0, (double)read_size, 0, 0 };
- msg_task_t task = MSG_parallel_task_create("file transfer for write", 2, m_host_list,
computation_amount, communication
_amount, NULL);
+ msg_task_t task = MSG_parallel_task_create("file transfer for write", 2, m_host_list,
flops_amount, bytes
_amount, NULL);
msg_error_t transfer = MSG_parallel_task_execute(task);
MSG_task_destroy(task);
free(m_host_list);
msg_error_t transfer = MSG_parallel_task_execute(task);
MSG_task_destroy(task);
free(m_host_list);
@@
-548,7
+548,7
@@
msg_error_t MSG_storage_set_data(msg_storage_t storage, void *data)
return MSG_OK;
}
return MSG_OK;
}
-/** \ingroup m
sg
_host_management
+/** \ingroup m_host_management
*
* \brief Returns the user data of a #msg_storage_t.
*
*
* \brief Returns the user data of a #msg_storage_t.
*