Provides convenience functions for timing various passes in the compiler.
Creates a timing session. Returns an opaque session object.
title must be a binary containing the title of this timing session.
Ends the current timing pass in the given session. Returns the updated session.
session must be a session object with an in-progress pass.
name must be
the name given to the
start_pass/2 function previously.
Ends a given timing session. Returns the finished session object.
session must be a session object with no in-progress passes.
Formats a finished session in a user-presentable way. Returns the resulting binary containing the formatted session.
session must be a finished session object.
Starts a pass in the given session. Returns the updated session.
session must be a session object.
name must be a binary containing the
name of this timing pass.