| The Gaudi Framework v32r1 (f65d50dc)

Public Member Functions | Public Attributes | List of all members
GaudiHive.precedence.UniformTimeValue Class Reference
Inheritance diagram for GaudiHive.precedence.UniformTimeValue:
[legend]
Collaboration diagram for GaudiHive.precedence.UniformTimeValue:
[legend]

## Public Member Functions
def | __init__ (self, avgRuntime, varRuntime=0)
def | get (self, algoName='')

## Public Attributes
| avgRuntime
| varRuntime

## Detailed Description

    A class to manage uniform algorithm timing

Definition at line 27 of file precedence.py.

## Constructor & Destructor Documentation

## ◆ __init__()

def GaudiHive.precedence.UniformTimeValue.__init__ | ( |  | self,
|  |  | avgRuntime,
|  |  | varRuntime = `0`
| ) |  |

Definition at line 30 of file precedence.py.

30 def __init__(self, avgRuntime, varRuntime=0):
31
32 self.avgRuntime = avgRuntime
33 self.varRuntime = varRuntime
34

## Member Function Documentation

## ◆ get()

def GaudiHive.precedence.UniformTimeValue.get | ( |  | self,
|  |  | algoName = `''`
| ) |  |

    Get time and its variance (in a tuple) for a given algorithm name

Definition at line 35 of file precedence.py.

35 def get(self, algoName=''):
36 """Get time and its variance (in a tuple) for a given algorithm name"""
37
38 return self.avgRuntime, self.varRuntime
39
40
Gaudi::Functional::details::get
auto get(const Handle &handle, const Algo &, const EventContext &) -> decltype(details::deref(handle.get()))
Definition: FunctionalDetails.h:332

## Member Data Documentation

## ◆ avgRuntime

GaudiHive.precedence.UniformTimeValue.avgRuntime

Definition at line 32 of file precedence.py.

## ◆ varRuntime

GaudiHive.precedence.UniformTimeValue.varRuntime

Definition at line 33 of file precedence.py.

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

- GaudiHive/python/GaudiHive/precedence.py