-/* Copyright (c) 2010-2013. The SimGrid Team.
+/* Copyright (c) 2010-2014. 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. */
+ * under the terms of the license (GNU LGPL) which comes with this package. */
#ifndef INSTR_PRIVATE_H_
#define INSTR_PRIVATE_H_
#ifdef HAVE_TRACING
+SG_BEGIN_DECL()
+
/* Need to define function drand48 for Windows */
#ifdef _WIN32
# define drand48() (rand()/(RAND_MAX + 1.0))
extern xbt_dict_t user_link_variables;
extern double TRACE_last_timestamp_to_dump;
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/* instr_paje_header.c */
void TRACE_header(int basic, int size);
TRACING_RECV,
TRACING_IRECV,
TRACING_SENDRECV,
+ TRACING_TEST,
TRACING_WAIT,
TRACING_WAITALL,
TRACING_WAITANY,
int num_processes;
} s_instr_extra_data_t;
-#ifdef __cplusplus
-}
-#endif
-
+SG_END_DECL()
#endif /* HAVE_TRACING */
#include "instr/jedule/jedule_sd_binding.h"
#endif
-
-
-
-
-
#endif /* INSTR_PRIVATE_H_ */