DUECA/DUSIME
|
Network capacity use information. More...
#include <NetCapacityLog.hxx>
Public Types | |
typedef NetCapacityLog | __ThisDCOType__ |
typedef for internal reference | |
Public Member Functions | |
NetCapacityLog () | |
default constructor. | |
NetCapacityLog (const uint16_t &node_id, const uint16_t &n_points, const fixvector< 10, uint16_t > ®ular, const fixvector< 10, uint16_t > &total) | |
Constructor with arguments. | |
NetCapacityLog (const NetCapacityLog &o) | |
copy constructor. | |
NetCapacityLog (::dueca::AmorphReStore &r) | |
constructor to restore an NetCapacityLog from amorphous storage. | |
~NetCapacityLog () | |
destructor. | |
void | packData (::dueca::AmorphStore &s) const |
packs the NetCapacityLog into amorphous storage. | |
void | packDataDiff (::dueca::AmorphStore &s, const NetCapacityLog &ref) const |
packs the NetCapacityLog into amorphous storage. | |
void | unPackData (::dueca::AmorphReStore &s) |
unpacks the NetCapacityLog from an amorphous storage. | |
void | unPackDataDiff (::dueca::AmorphReStore &s) |
unpacks the differences for NetCapacityLog from an amorphous storage. | |
bool | operator== (const NetCapacityLog &o) const |
Test for equality. | |
bool | operator!= (const NetCapacityLog &o) const |
Test for inequality. | |
NetCapacityLog & | operator= (const NetCapacityLog &o) |
Assignment operator. | |
std::ostream & | print (std::ostream &s) const |
prints the NetCapacityLog to a stream. | |
Static Public Member Functions | |
static void * | operator new (size_t size) |
new operator "new", which places objects not on a heap, but in one of the memory arenas. | |
static void | operator delete (void *p) |
new operator "delete", to go with the new version of operator new. | |
static void * | operator new (size_t size, NetCapacityLog *&o) |
placement "new", needed for stl. | |
Public Attributes | |
uint16_t | node_id |
node id for which this capacity info is collected | |
uint16_t | n_points |
number of cycles counted | |
fixvector< 10, uint16_t > | regular |
standard message capacity histogram | |
fixvector< 10, uint16_t > | total |
total fill capacity histogram | |
Static Public Attributes | |
static const char *const | classname |
The name of this class. | |
static const uint32_t | magic_check_number |
a "magic" number, hashed out of the class definition, that will be used to check consistency of the sent objects across the dueca nodes. | |
Network capacity use information.
Provides, per participating node, a coarse histogram of message size split into regular data size, and total size (including fill data)
new operator "new", which places objects not on a heap, but in one of the memory arenas.
This to speed up memory management.
void dueca::NetCapacityLog::packDataDiff | ( | ::dueca::AmorphStore & | s, |
const NetCapacityLog & | ref ) const |
packs the NetCapacityLog into amorphous storage.
only differences with a previous object are packed.