Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(565)

Issue 6195071: Add bench and test for SkRefCnt. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by bungeman
Modified:
12 years, 8 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : Threads on Linux. #

Patch Set 3 : Threads on Mac. #

Total comments: 6

Patch Set 4 : Address comments, fix up affinity implementation. #

Patch Set 5 : Correct Linux affinity. #

Total comments: 1

Patch Set 6 : Clean comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+581 lines, -1 line) Patch
A bench/RefCntBench.cpp View 1 1 chunk +77 lines, -0 lines 0 comments Download
M gyp/bench.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M gyp/tests.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M gyp/utils.gyp View 1 2 3 4 5 5 chunks +23 lines, -0 lines 0 comments Download
M src/ports/SkThread_none.cpp View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
A src/utils/SkThreadUtils.h View 1 2 3 4 5 1 chunk +46 lines, -0 lines 0 comments Download
A src/utils/SkThreadUtils_pthread.h View 1 2 3 4 5 1 chunk +29 lines, -0 lines 0 comments Download
A src/utils/SkThreadUtils_pthread.cpp View 1 2 3 4 5 1 chunk +105 lines, -0 lines 0 comments Download
A src/utils/SkThreadUtils_pthread_linux.cpp View 1 2 3 4 1 chunk +46 lines, -0 lines 0 comments Download
A src/utils/SkThreadUtils_pthread_mach.cpp View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
A src/utils/SkThreadUtils_pthread_other.cpp View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
A src/utils/SkThreadUtils_win.h View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
A src/utils/SkThreadUtils_win.cpp View 1 2 3 4 5 1 chunk +136 lines, -0 lines 0 comments Download
A tests/RefCntTest.cpp View 1 2 3 4 5 1 chunk +44 lines, -0 lines 0 comments Download

Messages

Total messages: 5
bungeman
Add a bench and test for SkRefCnt. This also adds a SkThread class with enough ...
12 years, 8 months ago (2012-05-10 22:17:30 UTC) #1
reed1
http://codereview.appspot.com/6195071/diff/11003/src/utils/SkThreadUtils.h File src/utils/SkThreadUtils.h (right): http://codereview.appspot.com/6195071/diff/11003/src/utils/SkThreadUtils.h#newcode12 src/utils/SkThreadUtils.h:12: Should this ever be subclassed? If so, should the ...
12 years, 8 months ago (2012-05-11 12:53:19 UTC) #2
bungeman
Added comments and fixed up affinity, since it the implementation wasn't too clear about what ...
12 years, 8 months ago (2012-05-11 21:59:46 UTC) #3
reed1
http://codereview.appspot.com/6195071/diff/7004/src/utils/SkThreadUtils.h File src/utils/SkThreadUtils.h (right): http://codereview.appspot.com/6195071/diff/7004/src/utils/SkThreadUtils.h#newcode14 src/utils/SkThreadUtils.h:14: public: Nit: most of the newer comments in skia ...
12 years, 8 months ago (2012-05-14 13:37:15 UTC) #4
bungeman
12 years, 8 months ago (2012-05-14 15:55:57 UTC) #5
Commited revision 3921.
Fixed Android revision 3923.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b