Geant4
10.00.p01
|
#include <G4MPIstatus.hh>
Public Types | |
enum | { kNSIZE = 10 } |
Public Member Functions | |
G4MPIstatus () | |
~G4MPIstatus () | |
void | SetStatus (G4int arank, G4int runid, G4int noe, G4int evtid, G4ApplicationState state) |
G4int | GetRank () const |
G4int | GetRunID () const |
G4int | GetNEventToBeProcessed () const |
G4int | GetEventID () const |
G4double | GetCPUTime () const |
G4ApplicationState | GetG4State () const |
G4int | SizeOf () const |
void | Pack (G4int *data) const |
void | UnPack (G4int *data) |
void | StartTimer () |
void | StopTimer () |
void | Print () const |
Private Member Functions | |
G4String | GetStateString (G4ApplicationState astate) const |
Private Attributes | |
G4int | rank_ |
G4int | run_id_ |
G4int | nevent_to_be_processed_ |
G4int | event_id_ |
G4double | cputime_ |
G4ApplicationState | g4state_ |
G4Timer * | timer_ |
Definition at line 37 of file G4MPIstatus.hh.
anonymous enum |
Enumerator | |
---|---|
kNSIZE |
Definition at line 64 of file G4MPIstatus.hh.
G4MPIstatus::G4MPIstatus | ( | ) |
Definition at line 32 of file G4MPIstatus.cc.
References timer_.
G4MPIstatus::~G4MPIstatus | ( | ) |
Definition at line 40 of file G4MPIstatus.cc.
References timer_.
|
inline |
Definition at line 104 of file G4MPIstatus.hh.
References cputime_.
|
inline |
Definition at line 99 of file G4MPIstatus.hh.
References event_id_.
|
inline |
Definition at line 109 of file G4MPIstatus.hh.
References g4state_.
|
inline |
Definition at line 94 of file G4MPIstatus.hh.
References nevent_to_be_processed_.
|
inline |
Definition at line 84 of file G4MPIstatus.hh.
References rank_.
|
inline |
Definition at line 89 of file G4MPIstatus.hh.
References run_id_.
|
private |
Definition at line 109 of file G4MPIstatus.cc.
References G4State_Abort, G4State_EventProc, G4State_GeomClosed, G4State_Idle, G4State_Init, G4State_PreInit, and G4State_Quit.
Referenced by Print().
void G4MPIstatus::Pack | ( | G4int * | data | ) | const |
Definition at line 71 of file G4MPIstatus.cc.
References cputime_, event_id_, g4state_, nevent_to_be_processed_, rank_, and run_id_.
void G4MPIstatus::Print | ( | void | ) | const |
Definition at line 97 of file G4MPIstatus.cc.
References cputime_, event_id_, G4cout, G4endl, g4state_, GetStateString(), nevent_to_be_processed_, rank_, and run_id_.
void G4MPIstatus::SetStatus | ( | G4int | arank, |
G4int | runid, | ||
G4int | noe, | ||
G4int | evtid, | ||
G4ApplicationState | state | ||
) |
Definition at line 58 of file G4MPIstatus.cc.
References cputime_, event_id_, g4state_, nevent_to_be_processed_, rank_, run_id_, and timer_.
|
inline |
Definition at line 79 of file G4MPIstatus.hh.
References kNSIZE.
void G4MPIstatus::StartTimer | ( | ) |
Definition at line 46 of file G4MPIstatus.cc.
References timer_.
void G4MPIstatus::StopTimer | ( | ) |
Definition at line 52 of file G4MPIstatus.cc.
References timer_.
void G4MPIstatus::UnPack | ( | G4int * | data | ) |
Definition at line 84 of file G4MPIstatus.cc.
References cputime_, event_id_, g4state_, nevent_to_be_processed_, rank_, and run_id_.
|
private |
Definition at line 71 of file G4MPIstatus.hh.
Referenced by GetCPUTime(), Pack(), Print(), SetStatus(), and UnPack().
|
private |
Definition at line 70 of file G4MPIstatus.hh.
Referenced by GetEventID(), Pack(), Print(), SetStatus(), and UnPack().
|
private |
Definition at line 72 of file G4MPIstatus.hh.
Referenced by GetG4State(), Pack(), Print(), SetStatus(), and UnPack().
|
private |
Definition at line 69 of file G4MPIstatus.hh.
Referenced by GetNEventToBeProcessed(), Pack(), Print(), SetStatus(), and UnPack().
|
private |
Definition at line 67 of file G4MPIstatus.hh.
Referenced by GetRank(), Pack(), Print(), SetStatus(), and UnPack().
|
private |
Definition at line 68 of file G4MPIstatus.hh.
Referenced by GetRunID(), Pack(), Print(), SetStatus(), and UnPack().
|
private |
Definition at line 73 of file G4MPIstatus.hh.
Referenced by G4MPIstatus(), SetStatus(), StartTimer(), StopTimer(), and ~G4MPIstatus().