diff options
author | mtklein <mtklein@chromium.org> | 2015-07-09 10:51:36 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-09 10:51:36 -0700 |
commit | 828877d7267bcb7c272a1df4e36a6a79894bf00d (patch) | |
tree | 3318a7c52ab29d10887412dc2e6733e5d99f506f /src/animator/SkCondensedRelease.cpp | |
parent | af4edf9ccc274bef118b268145e0d1ae25072a5f (diff) |
Outline SkSpinlock::acquire().
The proportion of time spent doing useful work is well over 99% in acquire(),
so outlining it doesn't hurt speed at all, and makes it much easier to pick out
on a profile.
It'd be about 50/50 work/overhead if we outlined the extremely-cheap release().
I also tried outlining some SkRefCnt methods with similar mixed results.
BUG=skia:
No public API changes.
TBR=reed@google.com
Review URL: https://codereview.chromium.org/1212253013
Diffstat (limited to 'src/animator/SkCondensedRelease.cpp')
0 files changed, 0 insertions, 0 deletions