Performance

perf

Métricas de performance.

Las métricas se construyen en base a events:

ls /sys/bus/event_source/devices/cpu/events/

tambien podemos ver las métricas que usa perf con:

perf list --details
 Performance counter stats for './austal short':

          7.155,69 msec task-clock                       #    1,000 CPUs utilized             
               118      context-switches                 #   16,490 /sec                      
                 3      cpu-migrations                   #    0,419 /sec                      
             7.414      page-faults                      #    1,036 K/sec                     
    29.695.155.163      cycles                           #    4,150 GHz                       
    47.379.828.377      instructions                     #    1,60  insn per cycle            
     6.172.097.825      branches                         #  862,545 M/sec                     
        43.727.245      branch-misses                    #    0,71% of all branches           

       7,157403331 seconds time elapsed

       7,090932000 seconds user
       0,064990000 seconds sys

gprof


Edit this page.

Licensed MIT.