QPanda3  0.1.0
Supported by OriginQ
Loading...
Searching...
No Matches
pyqpanda3.profiling.gprof2dot.Event Class Reference

Describe a kind of event, and its basic operations. More...

Inheritance diagram for pyqpanda3.profiling.gprof2dot.Event:

Public Member Functions

 __init__ (self, name, null, aggregator, formatter=str)
 
 __repr__ (self)
 
 __eq__ (self, other)
 
 __hash__ (self)
 
 null (self)
 
 aggregate (self, val1, val2)
 Aggregate two event values.
 
 format (self, val)
 Format an event value.
 

Public Attributes

 name = name
 

Protected Attributes

 _null = null
 
 _aggregator = aggregator
 
 _formatter = formatter
 

Detailed Description

Describe a kind of event, and its basic operations.

Constructor & Destructor Documentation

◆ __init__()

pyqpanda3.profiling.gprof2dot.Event.__init__ ( self,
name,
null,
aggregator,
formatter = str )

Member Function Documentation

◆ __eq__()

pyqpanda3.profiling.gprof2dot.Event.__eq__ ( self,
other )

◆ __hash__()

pyqpanda3.profiling.gprof2dot.Event.__hash__ ( self)

◆ __repr__()

pyqpanda3.profiling.gprof2dot.Event.__repr__ ( self)

◆ aggregate()

pyqpanda3.profiling.gprof2dot.Event.aggregate ( self,
val1,
val2 )

Aggregate two event values.

◆ format()

pyqpanda3.profiling.gprof2dot.Event.format ( self,
val )

Format an event value.

◆ null()

pyqpanda3.profiling.gprof2dot.Event.null ( self)

Member Data Documentation

◆ _aggregator

pyqpanda3.profiling.gprof2dot.Event._aggregator = aggregator
protected

◆ _formatter

pyqpanda3.profiling.gprof2dot.Event._formatter = formatter
protected

◆ _null

pyqpanda3.profiling.gprof2dot.Event._null = null
protected

◆ name

pyqpanda3.profiling.gprof2dot.Event.name = name

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