lcnt
lcnt
Module
lcnt
Module summary
A runtime system Lock Profiling tool.
Description
The lcnt
module is used to profile the internal ethread locks in the Erlang Runtime System. With lcnt
enabled, Internal counters in the runtime system are updated each time a lock is taken. The counters stores information about the number of acquisition tries and the number of collisions that has occurred during the acquisition tries. The counters also record the waiting time a lock has caused for a blocked thread when a collision has occurred.
The data produced by the lock counters will give an estimate on how well the runtime system will behave from a parallelizable view point for the scenarios tested. This tool was mainly developed to help erlang runtime developers iron out potential and generic bottlenecks.
Locks in the emulator are n