From: compudj Date: Wed, 10 Oct 2007 21:55:08 +0000 (+0000) Subject: add event cycle count X-Git-Tag: v0.12.20~855 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=bb8c6629ca2123180877cc3c62dada724c4b6a8a;p=lttv.git add event cycle count git-svn-id: http://ltt.polymtl.ca/svn@2634 04897980-b3bd-0310-b5e0-8ef037075253 --- 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