1 /* Copyright (c) 2010. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
7 #include "instr/instr_private.h"
11 void TRACE_msg_volume_start(m_task_t task)
13 xbt_die ("tracing/msg/volume:1 is deprecated.");
14 // m_process_t process = NULL;
15 // m_host_t host = NULL;
16 // char process_name[200], process_alias[200];
17 // char task_name[200];
19 // if (!TRACE_msg_volume_is_enabled())
22 // /* check if task is traced */
23 // if (!task->category)
26 // /* check if process is traced */
27 // process = MSG_process_self();
28 // if (!process->category)
31 // host = MSG_process_get_host(process);
32 // TRACE_process_container(process, process_name, 200);
33 // TRACE_process_alias_container(process, host, process_alias, 200);
34 // TRACE_task_container(task, task_name, 200);
36 // volume = MSG_task_get_data_size(task);
38 // pajeStartLinkWithVolume(MSG_get_clock(), "volume", "0", task->category,
39 // process_alias, task_name, volume);
42 void TRACE_msg_volume_finish(m_task_t task)
44 xbt_die ("tracing/msg/volume:1 is deprecated.");
45 // char process_name[200], process_alias[200];
46 // char task_name[200];
47 // m_process_t process = NULL;
48 // m_host_t host = NULL;
49 // if (!TRACE_msg_volume_is_enabled())
52 // /* check if task is traced */
53 // if (!task->category)
56 // /* check if process is traced */
57 // process = MSG_process_self();
58 // if (!process->category)
61 // host = MSG_process_get_host(process);
62 // TRACE_process_container(process, process_name, 200);
63 // TRACE_process_alias_container(process, host, process_alias, 200);
64 // TRACE_task_container(task, task_name, 200);
66 // pajeEndLink(MSG_get_clock(), "volume", "0", task->category,
67 // process_alias, task_name);
70 #endif /* HAVE_TRACING */