projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move ltt-private.h from public directroy into private directroy
[lttv.git]
/
ltt
/
branches
/
poly
/
include
/
ltt
/
ltt.h
diff --git
a/ltt/branches/poly/include/ltt/ltt.h
b/ltt/branches/poly/include/ltt/ltt.h
index 7c347414926d7804d2119128b646c2a89924124b..ed86a5db8c394e5b5e89a535116ea56fbad546f5 100644
(file)
--- a/
ltt/branches/poly/include/ltt/ltt.h
+++ b/
ltt/branches/poly/include/ltt/ltt.h
@@
-1,7
+1,8
@@
#ifndef LTT_H
#define LTT_H
#ifndef LTT_H
#define LTT_H
-#include <ltt/LTTTypes.h>
+#include <ltt/time.h>
+#include <glib.h>
/* A trace is associated with a tracing session run on a single, possibly
multi-cpu, system. It is defined as a pathname to a directory containing
/* A trace is associated with a tracing session run on a single, possibly
multi-cpu, system. It is defined as a pathname to a directory containing
@@
-61,6
+62,7
@@
typedef struct _LttField LttField;
typedef struct _LttEvent LttEvent;
typedef struct _LttEvent LttEvent;
+typedef struct _LttSystemDescription LttSystemDescription;
/* Checksums are used to differentiate facilities which have the same name
but differ. */
/* Checksums are used to differentiate facilities which have the same name
but differ. */
@@
-69,14
+71,25
@@
typedef unsigned long LttChecksum;
/* Events are usually stored with the easily obtained CPU clock cycle count,
/* Events are usually stored with the easily obtained CPU clock cycle count,
- ltt_cycle_count. This can be converted to the real time value,
ltt_t
ime,
+ ltt_cycle_count. This can be converted to the real time value,
LttT
ime,
using linear interpolation between regularly sampled values (e.g. a few
times per second) of the real time clock with their corresponding
cycle count values. */
using linear interpolation between regularly sampled values (e.g. a few
times per second) of the real time clock with their corresponding
cycle count values. */
-typedef struct timespec LttTime;
-typedef uint64_t LttCycleCount;
+typedef struct _TimeInterval{
+ LttTime startTime;
+ LttTime endTime;
+} TimeInterval;
+
+
+typedef guint64 LttCycleCount;
+
+
+/* Event positions are used to seek within a tracefile based on
+ the block number and event position within the block. */
+
+typedef struct _LttEventPosition LttEventPosition;
/* Differences between architectures include word sizes, endianess,
/* Differences between architectures include word sizes, endianess,
@@
-93,9
+106,10
@@
typedef enum _LttArchEndian
{ LTT_LITTLE_ENDIAN, LTT_BIG_ENDIAN
} LttArchEndian;
{ LTT_LITTLE_ENDIAN, LTT_BIG_ENDIAN
} LttArchEndian;
-
-
-#include <ltt/ltt-private.h>
+typedef enum _LttTypeEnum
+{ LTT_INT, LTT_UINT, LTT_FLOAT, LTT_STRING, LTT_ENUM, LTT_ARRAY,
+ LTT_SEQUENCE, LTT_STRUCT, LTT_UNION
+} LttTypeEnum;
#endif // LTT_H
#endif // LTT_H
This page took
0.022842 seconds
and
4
git commands to generate.