public class PredictorTimer
PredictorTimer | 初始化 PredictorTimer 类的一个新实例 |
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。) |
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。) |
StartInference | Starts timing for inference phase and records preprocessing duration. 开始推理阶段的计时,并记录预处理持续时间。 |
StartPostprocess | Starts timing for postprocessing phase and records inference duration. 开始后处理阶段的计时,并记录推理持续时间。 |
StartPreprocess | Starts timing for preprocessing phase. 开始预处理阶段的计时。 |
Stop | Stops timing and returns accumulated measurements. 停止计时并返回累积的测量结果。 |
ToString | Returns a string that represents the current object. (继承自 Object。) |
inference | Stores accumulated time spent in inference phase. 存储推理阶段累积的时间。 |
postprocess | Stores accumulated time spent in postprocessing phase. 存储后处理阶段累积的时间。 |
preprocess | Stores accumulated time spent in preprocessing phase. 存储预处理阶段累积的时间。 |
stopwatch | Stopwatch instance used for precise timing measurements. 用于精确计时测量的Stopwatch实例。 |