projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9b7efe
)
actor: Add debugging notes for size cache
author
Emmanuele Bassi
<ebassi@linux.intel.com>
Fri, 4 Dec 2009 17:38:26 +0000
(17:38 +0000)
committer
Emmanuele Bassi
<ebassi@linux.intel.com>
Fri, 4 Dec 2009 17:38:26 +0000
(17:38 +0000)
Add a note for cache hits, and another one for cache misses.
clutter/clutter-actor.c
patch
|
blob
|
history
diff --git
a/clutter/clutter-actor.c
b/clutter/clutter-actor.c
index
b81a26e
..
9e7fee7
100644
(file)
--- a/
clutter/clutter-actor.c
+++ b/
clutter/clutter-actor.c
@@
-4632,6
+4632,7
@@
_clutter_actor_get_cached_size_request (gfloat for_size,
if (sr->age > 0 &&
sr->for_size == for_size)
{
+ CLUTTER_NOTE (LAYOUT, "Size cache hit for size: %.2f", for_size);
*result = sr;
return TRUE;
}
@@
-4641,6
+4642,8
@@
_clutter_actor_get_cached_size_request (gfloat for_size,
}
}
+ CLUTTER_NOTE (LAYOUT, "Size cache miss for size: %.2f", for_size);
+
return FALSE;
}