projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
likely/unlikely branch prediction
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
lttv
/
traceset.c
diff --git
a/ltt/branches/poly/lttv/lttv/traceset.c
b/ltt/branches/poly/lttv/lttv/traceset.c
index a190486a0ceeaae5f7915afa1a6e6cfe3307283d..bfd7510715c8c3b616c31506f04911b27342f957 100644
(file)
--- a/
ltt/branches/poly/lttv/lttv/traceset.c
+++ b/
ltt/branches/poly/lttv/lttv/traceset.c
@@
-203,7
+203,7
@@
guint lttv_trace_ref(LttvTrace * t)
guint lttv_trace_unref(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;
t->ref_count--;
return t->ref_count;
This page took
0.028405 seconds
and
4
git commands to generate.