PPL Logo

LV3D0_ClientManager_toMaster Class Reference

A LV3D0_ClientManager that buffers up outgoing views for delivery to the master processor. More...

Inheritance diagram for LV3D0_ClientManager_toMaster:

Inheritance graph
[legend]
Collaboration diagram for LV3D0_ClientManager_toMaster:

Collaboration graph
[legend]

Public Member Functions

 LV3D0_ClientManager_toMaster ()
 ~LV3D0_ClientManager_toMaster ()
virtual void add (LV3D0_ViewMsg *v)
 Add a view from a new viewable.
void progress (void)
 Send everything we're ready to send.
void fillBucket (void)
 Add bytes to our bucket, which allows us to send.

Private Attributes

int bucket_bytes
 Bucket algorithm: remaining bytes we're allowed to send.
int cidx

Detailed Description

A LV3D0_ClientManager that buffers up outgoing views for delivery to the master processor.

This throttles the cluster network utilization, preventing ancient views from piling up at the network interconnect.

Definition at line 206 of file lv3d0_server.C.


Constructor & Destructor Documentation

LV3D0_ClientManager_toMaster::LV3D0_ClientManager_toMaster (  )  [inline]

Definition at line 211 of file lv3d0_server.C.

References CcdCallOnConditionKeep(), and toMaster_fillBucket().

LV3D0_ClientManager_toMaster::~LV3D0_ClientManager_toMaster (  )  [inline]

Definition at line 215 of file lv3d0_server.C.

References CcdCancelCallOnConditionKeep().


Member Function Documentation

virtual void LV3D0_ClientManager_toMaster::add ( LV3D0_ViewMsg v  )  [inline, virtual]

Add a view from a new viewable.

Implements LV3D0_ClientManager.

Definition at line 220 of file lv3d0_server.C.

References CkViewPrioSorter::add().

void LV3D0_ClientManager_toMaster::progress ( void   )  [inline]

Send everything we're ready to send.

Definition at line 225 of file lv3d0_server.C.

References CmiLongSendQueue(), CmiNodeOf(), stats::get(), isEmpty(), mgrProxy, LV3D0_ViewMsg::pixels, and LV3D0_ViewMsg::view_size.

void LV3D0_ClientManager_toMaster::fillBucket ( void   )  [inline]

Add bytes to our bucket, which allows us to send.

Called every 10ms via the CcdPERIODIC_10ms stuff.

Definition at line 241 of file lv3d0_server.C.

Referenced by toMaster_fillBucket().


Field Documentation

Bucket algorithm: remaining bytes we're allowed to send.

Definition at line 208 of file lv3d0_server.C.

Definition at line 209 of file lv3d0_server.C.


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

Generated on Fri May 25 08:04:09 2012 for Charm++ by  doxygen 1.5.5