Trace program resource usage.
Bases: object
Trace memory usage for the current program.
Register a memory usage checkpoint.
This method does nothing if this object was initialized with enabled = False.