QPanda3
0.1.0
Supported by OriginQ
|
Represents the call data of a given routine. More...
Public Member Functions | |
__init__ (self) | |
add_call (self, RoutineCallsData call_data) | |
add_subroutine_call (self, str called_subroutine, RoutineCallsData call_data) | |
add_called_by (self, str caller_routine, RoutineCallsData call_data) | |
str | __repr__ (self) |
ty.Dict | to_dict (self) |
Public Attributes | |
RoutineCallsData | self_call = RoutineCallsData(0, 0, 0) |
ty.Dict[str, RoutineCallsData] | called_by = dict() |
ty.Dict[str, RoutineCallsData] | subroutine_calls = dict() |
Represents the call data of a given routine.
Attributes: self_call: data about the routine called_by: data about the callers of the routine subroutine_calls: data about the routines called by the routine
pyqpanda3.profiling.data.RoutineData.__init__ | ( | self | ) |
str pyqpanda3.profiling.data.RoutineData.__repr__ | ( | self | ) |
pyqpanda3.profiling.data.RoutineData.add_call | ( | self, | |
RoutineCallsData | call_data ) |
pyqpanda3.profiling.data.RoutineData.add_called_by | ( | self, | |
str | caller_routine, | ||
RoutineCallsData | call_data ) |
pyqpanda3.profiling.data.RoutineData.add_subroutine_call | ( | self, | |
str | called_subroutine, | ||
RoutineCallsData | call_data ) |
ty.Dict pyqpanda3.profiling.data.RoutineData.to_dict | ( | self | ) |
ty.Dict[str, RoutineCallsData] pyqpanda3.profiling.data.RoutineData.called_by = dict() |
RoutineCallsData pyqpanda3.profiling.data.RoutineData.self_call = RoutineCallsData(0, 0, 0) |
ty.Dict[str, RoutineCallsData] pyqpanda3.profiling.data.RoutineData.subroutine_calls = dict() |