| 222 | } |
| 223 | |
| 224 | PX_INLINE PxU32 count() const |
| 225 | { |
| 226 | // NOTE: we can probably do this faster, since the last steps in PxcBitCount32 can be defered to |
| 227 | // the end of the seq. + 64/128bits at a time + native bit counting instructions(360 is fast non micro code). |
| 228 | PxU32 count = 0; |
| 229 | PxU32 wordCount = getWordCount(); |
| 230 | for(PxU32 i=0; i<wordCount; i++) |
| 231 | count += Ps::bitCount(mMap[i]); |
| 232 | |
| 233 | return count; |
| 234 | } |
| 235 | |
| 236 | PX_INLINE PxU32 count(PxU32 start, PxU32 length) const |
| 237 | { |
nothing calls this directly
no test coverage detected