PPL Logo

LBMachineUtil Class Reference
[Charm++ Load Balancing Framework]

#include <LBMachineUtil.h>

Collaboration diagram for LBMachineUtil:

Collaboration graph
[legend]

Public Member Functions

 LBMachineUtil ()
void StatsOn ()
void StatsOff ()
void Clear ()
void TotalTime (LBRealType *walltime, LBRealType *cputime)
void IdleTime (LBRealType *walltime)

Private Types

enum  uint8_t { off, on }

Private Member Functions

void IdleStart (double curWallTime)
void IdleEnd (double curWallTime)

Static Private Member Functions

static void staticIdleStart (LBMachineUtil *util, double curWallTime)
static void staticIdleEnd (LBMachineUtil *util, double curWallTime)

Private Attributes

enum LBMachineUtil::uint8_t state
LBRealType total_walltime
LBRealType total_idletime
double start_totalwall
double start_idle
LBRealType total_cputime
double start_totalcpu
int cancel_idleStart
int cancel_idleEnd

Detailed Description

Definition at line 9 of file LBMachineUtil.h.


Member Enumeration Documentation

enum LBMachineUtil::uint8_t [private]

Enumerator:
off 
on 

Definition at line 19 of file LBMachineUtil.h.


Member Function Documentation

void LBMachineUtil::IdleTime ( LBRealType walltime  )  [inline]

Definition at line 16 of file LBMachineUtil.h.

References total_idletime.

Referenced by LBDB::IdleTime().

Here is the caller graph for this function:


Field Documentation

Definition at line 20 of file LBMachineUtil.h.

Referenced by Clear(), LBMachineUtil(), StatsOff(), StatsOn(), and TotalTime().

Definition at line 21 of file LBMachineUtil.h.

Referenced by Clear(), IdleEnd(), IdleTime(), and LBMachineUtil().

Definition at line 22 of file LBMachineUtil.h.

Referenced by Clear(), LBMachineUtil(), StatsOff(), StatsOn(), and TotalTime().

double LBMachineUtil::start_idle [private]

Definition at line 23 of file LBMachineUtil.h.

Referenced by Clear(), IdleEnd(), IdleStart(), and LBMachineUtil().

Definition at line 25 of file LBMachineUtil.h.

Referenced by Clear(), LBMachineUtil(), StatsOff(), StatsOn(), and TotalTime().

Definition at line 26 of file LBMachineUtil.h.

Referenced by Clear(), LBMachineUtil(), StatsOff(), StatsOn(), and TotalTime().

Definition at line 29 of file LBMachineUtil.h.

Referenced by StatsOff(), and StatsOn().

Definition at line 29 of file LBMachineUtil.h.

Referenced by StatsOff(), and StatsOn().


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

Generated on Mon Sep 21 08:26:33 2020 for Charm++ by  doxygen 1.5.5