projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add missing config.h include
[lttv.git]
/
ltt
/
branches
/
poly
/
ltt
/
event.h
diff --git
a/ltt/branches/poly/ltt/event.h
b/ltt/branches/poly/ltt/event.h
index 3bb05a90b1ed0a9664785b3525369460b1a98815..697b400ea4c5a08e1e7a8d2761010bb34870b3fa 100644
(file)
--- a/
ltt/branches/poly/ltt/event.h
+++ b/
ltt/branches/poly/ltt/event.h
@@
-1,13
+1,13
@@
#ifndef _LTT_EVENT_H
#define _LTT_EVENT_H
#ifndef _LTT_EVENT_H
#define _LTT_EVENT_H
-#include <ltt/time.h>
#include <glib.h>
#include <stdint.h>
#include <sys/types.h>
#include <glib.h>
#include <stdint.h>
#include <sys/types.h>
-#include <ltt/ltt.h>
#include <endian.h>
#include <endian.h>
-#include <ltt/markers.h>
+#include <ltt/ltt.h>
+#include <ltt/time.h>
+#include <ltt/marker.h>
/*
* Structure LttEvent and LttEventPosition must begin with the _exact_ same
/*
* Structure LttEvent and LttEventPosition must begin with the _exact_ same
@@
-104,4
+104,9
@@
double ltt_event_get_double(LttEvent *e, struct marker_field *f);
gchar *ltt_event_get_string(LttEvent *e, struct marker_field *f);
gchar *ltt_event_get_string(LttEvent *e, struct marker_field *f);
+static inline LttCycleCount ltt_event_cycle_count(const LttEvent *e)
+{
+ return e->tsc;
+}
+
#endif //_LTT_EVENT_H
#endif //_LTT_EVENT_H
This page took
0.026433 seconds
and
4
git commands to generate.