DUECA/DUSIME
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
dueca::NetCapacityLog Struct Reference

Network capacity use information. More...

#include <NetCapacityLog.hxx>

Collaboration diagram for dueca::NetCapacityLog:
Collaboration graph
[legend]

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 > &regular, 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.
 
NetCapacityLogoperator= (const NetCapacityLog &o)
 Assignment operator.
 
std::ostream & print (std::ostream &s) const
 prints the NetCapacityLog to a stream.
 

Static Public Member Functions

static voidoperator 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 voidoperator 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_tregular
 standard message capacity histogram
 
fixvector< 10, uint16_ttotal
 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.
 

Detailed Description

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)

Member Function Documentation

◆ operator new()

static void * dueca::NetCapacityLog::operator new ( size_t size)
static

new operator "new", which places objects not on a heap, but in one of the memory arenas.

This to speed up memory management.

◆ packDataDiff()

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.


The documentation for this struct was generated from the following file: