TensorRT  7.2.1.6
NVIDIA TensorRT
Looking for a C++ dev who knows TensorRT?
I'm looking for work. Hire me!
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
profiler Namespace Reference

Functions

def hasNames (features)
 
def totalData (features, profile)
 
def findAndRemove (profile, name)
 
def refName (name)
 
def refFeatures (names)
 
def mergeHeaders (features, skipFirst=True)
 
def addReference (row, reference)
 
def mergeRow (reference, profile, diff)
 
def alignData (reference, profile, threshold)
 
def main ()
 

Variables

list allFeatures = ['name', 'timeMs', 'averageMs', 'percentage']
 
string defaultFeatures = ",".join(allFeatures)
 
list descriptions = ['layer name', 'total layer time', 'average layer time', 'percentage of total time']
 
 featuresDescription = pu.combineDescriptions('Features are (times in ms):', allFeatures, descriptions)
 

Function Documentation

◆ hasNames()

def profiler.hasNames (   features)
Check if the name is included in the set 
Here is the caller graph for this function:

◆ totalData()

def profiler.totalData (   features,
  profile 
)
Add row at the bottom with the total 
Here is the caller graph for this function:

◆ findAndRemove()

def profiler.findAndRemove (   profile,
  name 
)
Find named row in profile and remove 
Here is the caller graph for this function:

◆ refName()

def profiler.refName (   name)
Add prefix ref to name 
Here is the caller graph for this function:

◆ refFeatures()

def profiler.refFeatures (   names)
Add prefix ref to features names 
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mergeHeaders()

def profiler.mergeHeaders (   features,
  skipFirst = True 
)
Duplicate feature names for reference and target profile 
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addReference()

def profiler.addReference (   row,
  reference 
)
Add reference results to results dictionary 
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mergeRow()

def profiler.mergeRow (   reference,
  profile,
  diff 
)
Merge reference and target profile results into a single row 
Here is the call graph for this function:
Here is the caller graph for this function:

◆ alignData()

def profiler.alignData (   reference,
  profile,
  threshold 
)
Align and merge reference and target profiles 
Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

def profiler.main ( )
Here is the call graph for this function:

Variable Documentation

◆ allFeatures

list profiler.allFeatures = ['name', 'timeMs', 'averageMs', 'percentage']

◆ defaultFeatures

string profiler.defaultFeatures = ",".join(allFeatures)

◆ descriptions

list profiler.descriptions = ['layer name', 'total layer time', 'average layer time', 'percentage of total time']

◆ featuresDescription

profiler.featuresDescription = pu.combineDescriptions('Features are (times in ms):', allFeatures, descriptions)