Definition at line 39 of file AtlRunQueryTimer.py.
◆ printTimeFlat()
def python.utils.AtlRunQueryTimer.TimerStats.printTimeFlat |
( |
|
cls | ) |
|
Definition at line 80 of file AtlRunQueryTimer.py.
80 def printTimeFlat(cls):
81 for name, [_time, callcount]
in sorted(cls.totalFlat.
items(),key=
lambda x: x[1][0]):
82 print (
"%-70s : %f (%i)" % (name, _time, callcount))
◆ printTimeSummary()
def python.utils.AtlRunQueryTimer.TimerStats.printTimeSummary |
( |
|
cls | ) |
|
Definition at line 72 of file AtlRunQueryTimer.py.
72 def printTimeSummary(cls):
77 cls.total.printRecursive(0)
◆ saveTime()
def python.utils.AtlRunQueryTimer.TimerStats.saveTime |
( |
|
cls, |
|
|
|
exectime |
|
) |
| |
Definition at line 55 of file AtlRunQueryTimer.py.
55 def saveTime(cls, exectime):
62 idx = cur.subcounts.index(n)
64 cur = cur.subcounts[idx]
66 cur.subcounts += [TimeCount(n)]
67 cur = cur.subcounts[-1]
68 cur.totaltime += exectime
69 cls.saveTimeFlat(exectime)
◆ saveTimeFlat()
def python.utils.AtlRunQueryTimer.TimerStats.saveTimeFlat |
( |
|
cls, |
|
|
|
exectime |
|
) |
| |
Definition at line 46 of file AtlRunQueryTimer.py.
46 def saveTimeFlat(cls, exectime):
48 if n
not in cls.totalFlat:
49 cls.totalFlat[n] = [0,0]
50 cls.totalFlat[n][0] += exectime
51 cls.totalFlat[n][1] += 1
◆ context
list python.utils.AtlRunQueryTimer.TimerStats.context = [] |
|
static |
◆ level
int python.utils.AtlRunQueryTimer.TimerStats.level = 0 |
|
static |
◆ total
python.utils.AtlRunQueryTimer.TimerStats.total = TimeCount('total') |
|
static |
◆ totalFlat
dictionary python.utils.AtlRunQueryTimer.TimerStats.totalFlat = {} |
|
static |
The documentation for this class was generated from the following file: