public class ModelInferenceProfiler
ModelInferenceProfiler | Initializes a new instance of ModelInferenceProfiler. 初始化ModelInferenceProfiler类的新实例。 |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
GetAverageFPS | Gets average frames per second (FPS), skipping the first record if multiple exist. 获取平均每秒帧数(FPS),如果有多次记录则跳过第一次。 |
GetAverageInferenceTime | Gets average inference time, skipping the first record if multiple exist. 获取平均推理时间,如果有多次记录则跳过第一次。 |
GetAveragePostprocessTime | Gets average postprocessing time, skipping the first record if multiple exist. 获取平均后处理时间,如果有多次记录则跳过第一次。 |
GetAveragePreprocessTime | Gets average preprocessing time, skipping the first record if multiple exist. 获取平均预处理时间,如果有多次记录则跳过第一次。 |
GetAverageTotalTime | Gets average total processing time, skipping the first record if multiple exist. 获取平均总处理时间,如果有多次记录则跳过第一次。 |
GetHashCode | Serves as the default hash function. (继承自 Object。) |
GetType | Gets the Type of the current instance. (继承自 Object。) |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
PrintAllRecords | Prints and returns detailed timing information for all records. 打印并返回所有记录的详细时间信息。 |
PrintStatistics | Prints and returns statistical summary of recorded timings. 打印并返回记录时间的统计摘要。 |
Record(ModelInferenceTimeRecord) | Records timing information using an existing ModelInferenceTimeRecord. 使用现有的ModelInferenceTimeRecord记录时间信息。 |
Record(Single, Single, Single) | Records timing information for an inference operation. 记录一次推理操作的时间信息。 |
ToString | Returns a string that represents the current object. (继承自 Object。) |