Skip to content

Instantly share code, notes, and snippets.

@Cyberax
Created July 18, 2024 07:48
Show Gist options
  • Save Cyberax/aa96a237a9b04ed6f25e09c63b1c12bd to your computer and use it in GitHub Desktop.
Save Cyberax/aa96a237a9b04ed6f25e09c63b1c12bd to your computer and use it in GitHub Desktop.

Revisions

  1. Cyberax created this gist Jul 18, 2024.
    19 changes: 19 additions & 0 deletions perf.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    tmp # perf stat -- ./a.out
    Sigaction
    Done

    Performance counter stats for './a.out':

    1753.38 msec task-clock # 1.000 CPUs utilized
    45 context-switches # 25.665 /sec
    2 cpu-migrations # 1.141 /sec
    1000024 page-faults # 570.341 K/sec
    6671774230 cycles # 3.805 GHz
    3810252283 instructions # 0.57 insn per cycle
    757963445 branches # 432.287 M/sec
    1114867 branch-misses # 0.15% of all branches

    1.754103831 seconds time elapsed

    0.511689000 seconds user
    1.242245000 seconds sys