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
[trace] new system call to make categorized host utilization tracing possible again
[simgrid.git]
/
src
/
simix
/
smx_host.c
diff --git
a/src/simix/smx_host.c
b/src/simix/smx_host.c
index 744bfc8327e37dcc89856fd41f5ff2622f444ae2..48ef546185966b99b91619a1adcf3b655c6a54b7 100644
(file)
--- a/
src/simix/smx_host.c
+++ b/
src/simix/smx_host.c
@@
-297,6
+297,13
@@
void SIMIX_host_execution_set_priority(smx_action_t action, double priority)
surf_workstation_model->set_priority(action->execution.surf_exec, priority);
}
surf_workstation_model->set_priority(action->execution.surf_exec, priority);
}
+#ifdef HAVE_TRACING
+void SIMIX_host_execution_set_category(smx_action_t action, const char *category)
+{
+ surf_workstation_model->set_category(action->execution.surf_exec, category);
+}
+#endif
+
void SIMIX_pre_host_execution_wait(smx_req_t req)
{
smx_action_t action = req->host_execution_wait.execution;
void SIMIX_pre_host_execution_wait(smx_req_t req)
{
smx_action_t action = req->host_execution_wait.execution;