likely/unlikely branch prediction
[lttv.git] / ltt / branches / poly / lttv / lttv / traceset.c
index a190486a0ceeaae5f7915afa1a6e6cfe3307283d..bfd7510715c8c3b616c31506f04911b27342f957 100644 (file)
@@ -203,7 +203,7 @@ guint lttv_trace_ref(LttvTrace * t)
 
 guint lttv_trace_unref(LttvTrace * t)
 {
-  if(t->ref_count > 0)
+  if(likely(t->ref_count > 0))
     t->ref_count--;
 
   return t->ref_count;
This page took 0.022676 seconds and 4 git commands to generate.