Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add setset to cmake build chain
[simgrid.git] / src / instr / private.h
index 2a5310b..a2b9663 100644 (file)
@@ -1,14 +1,8 @@
-/*
- * private.h
- *
- *  Created on: Nov 23, 2009
- *      Author: Lucas Schnorr
- *     License: This program is free software; you can redistribute
- *              it and/or modify it under the terms of the license
- *              (GNU LGPL) which comes with this package.
- *
- *     Copyright (c) 2009 The SimGrid team.
- */
+/* Copyright (c) 2010. The SimGrid Team.
+ * All rights reserved.                                                     */
+
+/* This program is free software; you can redistribute it and/or modify it
+  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #ifndef INSTR_PRIVATE_H_
 #define INSTR_PRIVATE_H_
@@ -25,6 +19,7 @@ extern int trace_mask; /* declared in interface.c */
 #define IS_TRACING_TASKS      ((TRACE_TASK)&trace_mask)
 #define IS_TRACING_PLATFORM   ((TRACE_PLATFORM)&trace_mask)
 #define IS_TRACING_PROCESSES  ((TRACE_PROCESS)&trace_mask)
+#define IS_TRACING_VOLUME     ((TRACE_VOLUME)&trace_mask)
 
 #include "instr/instr.h"
 #include "msg/msg.h"
@@ -99,6 +94,10 @@ void TRACE_msg_process_sleep_in (m_process_t process); //called from msg/gos.c
 void TRACE_msg_process_sleep_out (m_process_t process);
 void TRACE_msg_process_end (m_process_t process);
 
+/* declaration of instrumentation functions from msg_volume.c */
+void __TRACE_msg_volume_start (m_task_t task);
+void __TRACE_msg_volume_finish (m_task_t task);
+
 /* from smx.c */
 void TRACE_smx_action_execute (smx_action_t act);
 void TRACE_smx_action_communicate (smx_action_t act, smx_process_t proc);