use the time compare in the fastest way possible
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 14 Aug 2004 20:46:19 +0000 (20:46 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 14 Aug 2004 20:46:19 +0000 (20:46 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@755 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/lttv/tracecontext.c

index 3af6045ca5606c3bc5665df205180624108430c5..6a5cb931937d330907d258fd9b0b586f49be1849 100644 (file)
@@ -683,7 +683,7 @@ guint lttv_process_traceset_middle(LttvTracesetContext *self,
        count >= nb_events ||
      (end_position!=NULL&&lttv_traceset_context_ctx_pos_compare(self,
                                                           end_position) == 0)||
-       ltt_time_compare(tfc->timestamp, end) >= 0)
+       ltt_time_compare(end, tfc->timestamp) <= 0)
     {
       return count;
     }
This page took 0.024838 seconds and 4 git commands to generate.