我想使用“perf”来测量函数的实际执行时间。“perf script”命令给出调用函数时的时间戳。
Xorg 1523 [001] 25712.423702: probe:sock_write_iter: (ffffffff95cd8b80)
时间戳字段的格式为X.Y. 我该如何理解这个值?是XY秒吗?
X.Y
linux timestamp perf
linux ×1
perf ×1
timestamp ×1