From bb8c6629ca2123180877cc3c62dada724c4b6a8a Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 10 Oct 2007 21:55:08 +0000 Subject: [PATCH] add event cycle count git-svn-id: http://ltt.polymtl.ca/svn@2634 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/ltt/event.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ltt/branches/poly/ltt/event.h b/ltt/branches/poly/ltt/event.h index 3bb05a90..75b2e299 100644 --- a/ltt/branches/poly/ltt/event.h +++ b/ltt/branches/poly/ltt/event.h @@ -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 -- 2.34.1