Inheritance |
Custom graph nodes, work items, or schedulers have a type
object
associated with them. This object holds information about the custom type
such as a human-readable label and the implementation language.
This is the base class for these type objects.
Methods ¶
instanceCount
: int
Property
The number of instances of the type that have been created, potentially across multiple PDG graphs.
instanceMemoryUsage
: int
Property
The total memory usage of all instances of the type that have been created, potentially across multiple PDG graphs.
language
: pdg.language
Property
The language that the type object was written with, i.e. C++ or Python.
typeLabel
: str
Property
The human-readable label associated with the type. Does not necessarily have to be unique.
typeName
: str
Property
The unique, internal name for the type. Always unique.