Class holds job statistics for several Crab tasks. More...
Public Member Functions | |
def | __init__ (self, tasklist=None) |
The object constructor. More... | |
def | clearStats (self) |
This function sets all counts to zero. More... | |
def | updateStats (self, tasklist) |
This function updates the statistics for a given tasklist. More... | |
Public Attributes | |
nComplete | |
nCooloff | |
nFailed | |
nFinished | |
nIdle | |
nRunning | |
nTasks | |
nTransferring | |
nUnsubmitted | |
Class holds job statistics for several Crab tasks.
This class saves and updates statistics from a given list of CrabTask objects.
Definition at line 620 of file crabFunctions.py.
The object constructor.
self: TaskStats
self | The object pointer. tasklist: List of CrabTask objects |
tasklist | (Optional) List of CrabTasks for which statistics should be calculated |
Definition at line 628 of file crabFunctions.py.
References crabFunctions.TaskStats.clearStats(), and crabFunctions.TaskStats.updateStats().
def crabFunctions.TaskStats.clearStats | ( | self | ) |
This function sets all counts to zero.
self: TaskStats
self | The object pointer. |
Definition at line 658 of file crabFunctions.py.
References crabFunctions.TaskStats.nTasks.
Referenced by crabFunctions.TaskStats.__init__(), and crabFunctions.TaskStats.updateStats().
def crabFunctions.TaskStats.updateStats | ( | self, | |
tasklist | |||
) |
This function updates the statistics for a given tasklist.
self: TaskStats
self | The object pointer. tasklist: List of CrabTask objects |
tasklist | List of CrabTasks for which statistics should be calculated |
Definition at line 640 of file crabFunctions.py.
References crabFunctions.TaskStats.clearStats().
Referenced by crabFunctions.TaskStats.__init__().
crabFunctions.TaskStats.nComplete |
Definition at line 667 of file crabFunctions.py.
crabFunctions.TaskStats.nCooloff |
Definition at line 664 of file crabFunctions.py.
crabFunctions.TaskStats.nFailed |
Definition at line 665 of file crabFunctions.py.
crabFunctions.TaskStats.nFinished |
Definition at line 666 of file crabFunctions.py.
crabFunctions.TaskStats.nIdle |
Definition at line 661 of file crabFunctions.py.
crabFunctions.TaskStats.nRunning |
Definition at line 662 of file crabFunctions.py.
crabFunctions.TaskStats.nTasks |
Definition at line 642 of file crabFunctions.py.
Referenced by crabFunctions.TaskStats.clearStats().
crabFunctions.TaskStats.nTransferring |
Definition at line 663 of file crabFunctions.py.
crabFunctions.TaskStats.nUnsubmitted |
Definition at line 660 of file crabFunctions.py.