The Tprof tool is a timer profiler that identifies what code is running on the CPU during a user-specified time interval.
Tprof 工具是一个计时器剖析器,可以识别出在用户指定的一个时间间隔内哪些代码在 CPU 上运行。
2
The optimized code is now running faster than the non-optimized code, which you can see by comparing the interval times of each run.
现在优化的代码比未优化的代码运行速度更快,您可以通过比较每次运行的时间间隔看到这一点。
3
Note that you can extend the code shown in Listing 3 to allow additional management operations, such as stopping or modifying the interval between successive message transfers.