X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Ftime.h;h=61c3e596c3e0bb2ca76707fa12b738be27471ab2;hb=18206708bafbba3198bfb82cca97f17d70a05666;hp=dc1cb2201bdd4b809614954b49807e1cef81075b;hpb=8b0bbe19ccf2d978bb68b3c78f5d08b0b6899c8d;p=lttv.git diff --git a/ltt/branches/poly/ltt/time.h b/ltt/branches/poly/ltt/time.h index dc1cb220..61c3e596 100644 --- a/ltt/branches/poly/ltt/time.h +++ b/ltt/branches/poly/ltt/time.h @@ -32,6 +32,8 @@ static const unsigned long NANOSECONDS_PER_SECOND = 1000000000; static const LttTime ltt_time_zero = { 0, 0}; +static const LttTime ltt_time_one = { 0, 1 }; + static const LttTime ltt_time_infinite = { G_MAXUINT, G_MAXUINT }; static inline LttTime ltt_time_sub(LttTime t1, LttTime t2)