#include <LBMachineUtil.h>
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 |
Definition at line 9 of file LBMachineUtil.h.
enum LBMachineUtil::uint8_t [private] |
void LBMachineUtil::IdleTime | ( | LBRealType * | walltime | ) | [inline] |
Definition at line 16 of file LBMachineUtil.h.
References total_idletime.
Referenced by LBDB::IdleTime().
enum LBMachineUtil::uint8_t LBMachineUtil::state [private] |
Referenced by Clear(), IdleEnd(), LBMachineUtil(), StatsOff(), StatsOn(), and TotalTime().
LBRealType LBMachineUtil::total_walltime [private] |
Definition at line 20 of file LBMachineUtil.h.
Referenced by Clear(), LBMachineUtil(), StatsOff(), StatsOn(), and TotalTime().
LBRealType LBMachineUtil::total_idletime [private] |
Definition at line 21 of file LBMachineUtil.h.
Referenced by Clear(), IdleEnd(), IdleTime(), and LBMachineUtil().
double LBMachineUtil::start_totalwall [private] |
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().
LBRealType LBMachineUtil::total_cputime [private] |
Definition at line 25 of file LBMachineUtil.h.
Referenced by Clear(), LBMachineUtil(), StatsOff(), StatsOn(), and TotalTime().
double LBMachineUtil::start_totalcpu [private] |
Definition at line 26 of file LBMachineUtil.h.
Referenced by Clear(), LBMachineUtil(), StatsOff(), StatsOn(), and TotalTime().
int LBMachineUtil::cancel_idleStart [private] |
int LBMachineUtil::cancel_idleEnd [private] |