
#include <ckarrayindex.h>


Public Member Functions | |
| CmiUInt8 | compress (const CkArrayIndex &idx) |
| Pack the bits of. | |
| CkArrayIndex | decompress (CmiUInt8 id) |
Static Public Member Functions | |
| static FixedArrayIndexCompressor * | make (const CkArrayIndex &bounds) |
| Factory that checks whether a bit-packing compression is possible given. | |
Private Member Functions | |
| FixedArrayIndexCompressor (char dims, char *bits) | |
Static Private Member Functions | |
| static unsigned int | bitCount (int bound) |
| Compute the number of bits to represent integer indices in the range [0. | |
Private Attributes | |
| char | bitsPerDim [6] |
| char | dims |
Definition at line 360 of file ckarrayindex.h.
| ck::FixedArrayIndexCompressor::FixedArrayIndexCompressor | ( | char | dims, | |
| char * | bits | |||
| ) | [inline, private] |
Definition at line 428 of file ckarrayindex.h.
References bitsPerDim.
Referenced by make().

| static FixedArrayIndexCompressor* ck::FixedArrayIndexCompressor::make | ( | const CkArrayIndex & | bounds | ) | [inline, static] |
Factory that checks whether a bit-packing compression is possible given.
Definition at line 364 of file ckarrayindex.h.
References PUP::b, bitCount(), dims, and FixedArrayIndexCompressor().
Referenced by CkLocMgr::CkLocMgr(), and CkLocMgr::pup().


| CmiUInt8 ck::FixedArrayIndexCompressor::compress | ( | const CkArrayIndex & | idx | ) | [inline, virtual] |
Pack the bits of.
Implements ck::ArrayIndexCompressor.
Definition at line 387 of file ckarrayindex.h.
References bitsPerDim, and dims.
| CkArrayIndex ck::FixedArrayIndexCompressor::decompress | ( | CmiUInt8 | id | ) | [inline, virtual] |
Implements ck::ArrayIndexCompressor.
Definition at line 403 of file ckarrayindex.h.
References bitsPerDim, and dims.
Compute the number of bits to represent integer indices in the range [0.
.bound). Essentially, ceil(log2(bound)).
Definition at line 436 of file ckarrayindex.h.
Referenced by make().

char ck::FixedArrayIndexCompressor::bitsPerDim[6] [private] |
Definition at line 431 of file ckarrayindex.h.
Referenced by compress(), decompress(), and FixedArrayIndexCompressor().
char ck::FixedArrayIndexCompressor::dims [private] |
1.5.5