Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   perf-stat    ( 1 )

запустите команду и соберите статистику счетчика производительности (Run a command and gather performance counter statistics)

Примеры (Examples)

$ perf stat — make

Performance counter stats for 'make':

83723.452481 task-clock:u (msec) # 1.004 CPUs utilized 0 context-switches:u # 0.000 K/sec 0 cpu-migrations:u # 0.000 K/sec 3,228,188 page-faults:u # 0.039 M/sec 229,570,665,834 cycles:u # 2.742 GHz 313,163,853,778 instructions:u # 1.36 insn per cycle 69,704,684,856 branches:u # 832.559 M/sec 2,078,861,393 branch-misses:u # 2.98% of all branches

83.409183620 seconds time elapsed

74.684747000 seconds user 8.739217000 seconds sys