Skip to content

Instantly share code, notes, and snippets.

@lpgauth
Created April 20, 2015 20:42
Show Gist options
  • Save lpgauth/e8c85eed855c8a70c865 to your computer and use it in GitHub Desktop.
Save lpgauth/e8c85eed855c8a70c865 to your computer and use it in GitHub Desktop.
Erlang/OTP 17 [erts-6.3] [source-575abc1] [64-bit] [smp:32:32] [async-threads:10] [hipe] [kernel-poll:false] [lock-counting]
Eshell V6.3 (abort with ^G)
1> lcnt:start(), lcnt:rt_opt({copy_save, true}), lcnt:clear(), timer:sleep(1000), lcnt:collect(), lcnt:conflicts(), lcnt:clear(), lcnt:stop().
lock id #tries #collisions collisions [%] time [us] duration [%]
----- --- ------- ------------ --------------- ---------- -------------
pollset 1 56872 15399 27.0766 429155 42.1222
drv_ev_state 16 139194 4855 3.4879 345582 33.9194
timeofday 1 55357 6164 11.1350 116585 11.4430
timer_wheel 1 42773 1767 4.1311 91477 8.9786
process_table 1 32194 703 2.1836 41385 4.0620
proc_status 19799 309773 455 0.1469 40923 4.0167
proc_link 19799 109146 720 0.6597 37519 3.6825
proc_main 19799 283877 3862 1.3604 27024 2.6524
run_queue 28 414763 3075 0.7414 25872 2.5394
pix_lock 1024 301 1 0.3322 18378 1.8038
proc_msgq 19799 225655 642 0.2845 11973 1.1752
db_hash_slot 1024 29292 81 0.2765 1550 0.1521
db_tab 94 317953 93 0.0292 569 0.0558
make_ref 1 16732 207 1.2372 506 0.0497
pollset_rm_list 1 17323 99 0.5715 77 0.0076
ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment