X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Fltt-private.h;h=9e263c565b2675bbb5422cb3292eb04a8874b38f;hb=791dffa6f060fe553546337fde7ed58a16f41178;hp=1bbe0a10ddcf9e56f0367e4785a77c0aceb19b13;hpb=986e2a7c3f885178f7cf6385af8b325fee83d5f7;p=lttv.git diff --git a/ltt/branches/poly/ltt/ltt-private.h b/ltt/branches/poly/ltt/ltt-private.h index 1bbe0a10..9e263c56 100644 --- a/ltt/branches/poly/ltt/ltt-private.h +++ b/ltt/branches/poly/ltt/ltt-private.h @@ -184,6 +184,8 @@ struct ltt_trace_header_0_4 { uint8_t has_heartbeat; uint8_t has_alignment; /* Event header alignment */ uint8_t has_tsc; + uint64_t start_freq; + uint64_t start_tsc; uint64_t start_monotonic; struct timespec start_time; } LTT_PACKED_STRUCT; @@ -354,7 +356,8 @@ typedef struct _LttBuffer { /* Timekeeping */ uint64_t tsc; /* Current timestamp counter */ uint64_t freq; /* Frequency in khz */ - double nsecs_per_cycle; /* Precalculated from freq */ + //double nsecs_per_cycle; /* Precalculated from freq */ + guint32 cyc2ns_scale; } LttBuffer; struct _LttTracefile{ @@ -411,6 +414,8 @@ struct _LttTrace{ guint8 has_heartbeat; guint8 has_alignment; guint8 has_tsc; + uint64_t start_freq; + uint64_t start_tsc; uint64_t start_monotonic; LttTime start_time;