Profile function

Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Event frequency

Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>