X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Fevent.h;fp=ltt%2Fbranches%2Fpoly%2Fltt%2Fevent.h;h=75b2e299e8bf1c378ecf79972de5079cce748e37;hb=bb8c6629ca2123180877cc3c62dada724c4b6a8a;hp=3bb05a90b1ed0a9664785b3525369460b1a98815;hpb=d8924aa7791958d40f7b08660c665d8a8349fd63;p=lttv.git 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