https://github.com/erlang/percept
percept
https://github.com/erlang/percept
Last synced: 12 months ago
JSON representation
percept
- Host: GitHub
- URL: https://github.com/erlang/percept
- Owner: erlang
- License: apache-2.0
- Created: 2016-11-10T11:29:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-02T15:39:55.000Z (over 9 years ago)
- Last Synced: 2025-01-30T08:51:12.108Z (over 1 year ago)
- Language: Erlang
- Size: 1.47 MB
- Stars: 20
- Watchers: 24
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Authors: AUTHORS
Awesome Lists containing this project
README
Percept - Erlang Concurrency Profiling Tool
====
Percept uses `erlang:trace/3` and `erlang:system_profile/2` to monitor events from
process states. Such states are,
* waiting
* running
* runnable
* free
* exiting
There are some other states too, suspended, hibernating, and garbage collecting (GC).
The only ignored state is gc and a process is considered to have its previous
state through out the entire garbage collecting phase. The main reason for this,
is that our model considers the gc as a third state neither active nor inactive.
A waiting or suspended process is considered an inactive process and a running or
runnable process is considered an active process.
Events are collected and stored to a file. The file can be moved and analyzed on
a different machine than the target machine.