add event cycle count
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 10 Oct 2007 21:55:08 +0000 (21:55 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 10 Oct 2007 21:55:08 +0000 (21:55 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2634 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/ltt/event.h

index 3bb05a90b1ed0a9664785b3525369460b1a98815..75b2e299e8bf1c378ecf79972de5079cce748e37 100644 (file)
@@ -104,4 +104,11 @@ double ltt_event_get_double(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
This page took 0.024367 seconds and 4 git commands to generate.