Add bench and test for SkRefCnt.
authorbungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 14 May 2012 14:09:24 +0000 (14:09 +0000)
committerbungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 14 May 2012 14:09:24 +0000 (14:09 +0000)
commit554875210043b34178f7ed6ac5bd682b1fad367b
treefdadeb167ef502f98784117a3c05378c72fceeec
parentf105b109264f71dfb0bfd9977e6a5dd0a5a12f57
Add bench and test for SkRefCnt.
http://codereview.appspot.com/6195071/

This also adds a cross platform SkThread for testing purposes.

git-svn-id: http://skia.googlecode.com/svn/trunk@3921 2bbb7eff-a529-9590-31e7-b0007b416f81
14 files changed:
bench/RefCntBench.cpp [new file with mode: 0644]
gyp/bench.gypi
gyp/tests.gyp
gyp/utils.gyp
src/ports/SkThread_none.cpp
src/utils/SkThreadUtils.h [new file with mode: 0644]
src/utils/SkThreadUtils_pthread.cpp [new file with mode: 0644]
src/utils/SkThreadUtils_pthread.h [new file with mode: 0644]
src/utils/SkThreadUtils_pthread_linux.cpp [new file with mode: 0644]
src/utils/SkThreadUtils_pthread_mach.cpp [new file with mode: 0644]
src/utils/SkThreadUtils_pthread_other.cpp [new file with mode: 0644]
src/utils/SkThreadUtils_win.cpp [new file with mode: 0644]
src/utils/SkThreadUtils_win.h [new file with mode: 0644]
tests/RefCntTest.cpp [new file with mode: 0644]