X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8d900364a801ea8e049c5862e360aedea8093094..5b95be81cb098d4c0a5151409c41df417908b0dd:/src/instr/instr_private.h diff --git a/src/instr/instr_private.h b/src/instr/instr_private.h index 0bcb00f618..c9f327228f 100644 --- a/src/instr/instr_private.h +++ b/src/instr/instr_private.h @@ -26,7 +26,6 @@ SG_BEGIN_DECL() #include "xbt/graph.h" #include "xbt/dict.h" -#include "simgrid/platf.h" typedef enum { PAJE_DefineContainerType, @@ -176,6 +175,8 @@ typedef struct s_setState { container_t container; type_t type; val_t value; + const char* filename; + int linenumber; }s_setState_t; typedef struct s_pushState *pushState_t; @@ -184,6 +185,8 @@ typedef struct s_pushState { type_t type; val_t value; int size; + const char* filename; + int linenumber; void* extra; }s_pushState_t; @@ -256,12 +259,16 @@ XBT_PUBLIC(void) new_pajeAddVariable (double timestamp, container_t container, t XBT_PUBLIC(void) new_pajeSubVariable (double timestamp, container_t container, type_t type, double value); XBT_PUBLIC(void) new_pajeSetState (double timestamp, container_t container, type_t type, val_t value); XBT_PUBLIC(void) new_pajePushState (double timestamp, container_t container, type_t type, val_t value); -XBT_PUBLIC(void) new_pajePushStateWithExtra (double timestamp, container_t container, type_t type, val_t value, void* extra); +XBT_PUBLIC(void) new_pajePushStateWithExtra (double timestamp, container_t container, type_t type, val_t value, + void* extra); XBT_PUBLIC(void) new_pajePopState (double timestamp, container_t container, type_t type); XBT_PUBLIC(void) new_pajeResetState (double timestamp, container_t container, type_t type); -XBT_PUBLIC(void) new_pajeStartLink (double timestamp, container_t container, type_t type, container_t sourceContainer, const char *value, const char *key); -XBT_PUBLIC(void) new_pajeStartLinkWithSize (double timestamp, container_t container, type_t type, container_t sourceContainer, const char *value, const char *key, int size); -XBT_PUBLIC(void) new_pajeEndLink (double timestamp, container_t container, type_t type, container_t destContainer, const char *value, const char *key); +XBT_PUBLIC(void) new_pajeStartLink (double timestamp, container_t container, type_t type, container_t sourceContainer, + const char *value, const char *key); +XBT_PUBLIC(void) new_pajeStartLinkWithSize (double timestamp, container_t container, type_t type, + container_t sourceContainer, const char *value, const char *key, int size); +XBT_PUBLIC(void) new_pajeEndLink (double timestamp, container_t container, type_t type, container_t destContainer, + const char *value, const char *key); XBT_PUBLIC(void) new_pajeNewEvent (double timestamp, container_t container, type_t type, val_t value); /* from instr_config.c */ @@ -300,15 +307,9 @@ XBT_PUBLIC(int) TRACE_smpi_is_sleeping(void); XBT_PUBLIC(int) TRACE_smpi_view_internals(void); /* from resource_utilization.c */ -XBT_PRIVATE void TRACE_surf_host_set_utilization(const char *resource, - const char *category, - double value, - double now, +XBT_PRIVATE void TRACE_surf_host_set_utilization(const char *resource, const char *category, double value, double now, double delta); -XBT_PRIVATE void TRACE_surf_link_set_utilization(const char *resource, - const char *category, - double value, - double now, +XBT_PRIVATE void TRACE_surf_link_set_utilization(const char *resource,const char *category, double value, double now, double delta); XBT_PUBLIC(void) TRACE_surf_resource_utilization_alloc(void); @@ -378,9 +379,6 @@ XBT_PRIVATE void TRACE_paje_dump_buffer (int force); XBT_PRIVATE void dump_comment_file (const char *filename); XBT_PRIVATE void dump_comment (const char *comment); - - - typedef struct instr_trace_writer { void (*print_DefineContainerType) (paje_event_t event); void (*print_DefineVariableType)(paje_event_t event); @@ -402,12 +400,9 @@ typedef struct instr_trace_writer { void (*print_NewEvent) (paje_event_t event); } s_instr_trace_writer_t; - - struct s_instr_extra_data; typedef struct s_instr_extra_data *instr_extra_data; - typedef enum{ TRACING_INIT, TRACING_FINALIZE, @@ -444,8 +439,6 @@ typedef enum{ TRACING_EXSCAN } e_caller_type ; - - typedef struct s_instr_extra_data { e_caller_type type; int send_size; @@ -464,7 +457,7 @@ typedef struct s_instr_extra_data { SG_END_DECL() -#ifdef HAVE_JEDULE +#if HAVE_JEDULE #include "simgrid/jedule/jedule_sd_binding.h" #endif