projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-svn-id: http://ltt.polymtl.ca/svn@289 04897980-b3bd-0310-b5e0-8ef037075253
[lttv.git]
/
ltt
/
branches
/
poly
/
include
/
ltt
/
trace.h
diff --git
a/ltt/branches/poly/include/ltt/trace.h
b/ltt/branches/poly/include/ltt/trace.h
index be0311fb446af57fd3ec3960854f9a2745f4d0e1..18ef016c5ef9fac30d8f4e34c3c1a3b2456e1948 100644
(file)
--- a/
ltt/branches/poly/include/ltt/trace.h
+++ b/
ltt/branches/poly/include/ltt/trace.h
@@
-1,5
+1,5
@@
-#ifndef TRACE
FILE
_H
-#define TRACE
FILE
_H
+#ifndef TRACE_H
+#define TRACE_H
#include <ltt/ltt.h>
#include <ltt/ltt.h>
@@
-18,10
+18,10
@@
void ltt_trace_close(LttTrace *t);
/* The characteristics of the system on which the trace was obtained
is described in a LttSystemDescription structure. */
/* The characteristics of the system on which the trace was obtained
is described in a LttSystemDescription structure. */
-
typedef
struct _LttSystemDescription {
+struct _LttSystemDescription {
char *description;
char *node_name;
char *description;
char *node_name;
- char *domainname;
+ char *domain
_
name;
unsigned nb_cpu;
LttArchSize size;
LttArchEndian endian;
unsigned nb_cpu;
LttArchSize size;
LttArchEndian endian;
@@
-37,9
+37,9
@@
typedef struct _LttSystemDescription {
unsigned ltt_block_size;
LttTime trace_start;
LttTime trace_end;
unsigned ltt_block_size;
LttTime trace_start;
LttTime trace_end;
-}
LttSystemDescription
;
+};
-LttSystemDescription *ltt_trace_system_description(LttTrace *t)
+LttSystemDescription *ltt_trace_system_description(LttTrace *t)
;
/* Functions to discover the facilities in the trace. Once the number
/* Functions to discover the facilities in the trace. Once the number
@@
-94,15
+94,29
@@
LttTracefile *ltt_trace_control_tracefile_get(LttTrace *t, unsigned i);
LttTracefile *ltt_trace_per_cpu_tracefile_get(LttTrace *t, unsigned i);
LttTracefile *ltt_trace_per_cpu_tracefile_get(LttTrace *t, unsigned i);
+/* Get the start time and end time of the trace */
+
+void ltt_trace_time_span_get(LttTrace *t, LttTime *start, LttTime *end);
+
+
/* Get the name of a tracefile */
char *ltt_tracefile_name(LttTracefile *tf);
/* Get the name of a tracefile */
char *ltt_tracefile_name(LttTracefile *tf);
+/* Get the number of blocks in the tracefile */
+
+unsigned ltt_tracefile_block_number(LttTracefile *tf);
+
+
/* Seek to the first event of the trace with time larger or equal to time */
void ltt_tracefile_seek_time(LttTracefile *t, LttTime time);
/* Seek to the first event of the trace with time larger or equal to time */
void ltt_tracefile_seek_time(LttTracefile *t, LttTime time);
+/* Seek to the first event with position equal or larger to ep */
+
+void ltt_tracefile_seek_position(LttTracefile *t,
+ LttEventPosition *ep);
/* Read the next event */
/* Read the next event */
This page took
0.023225 seconds
and
4
git commands to generate.