8.12 Built-in Module resource

This module provides basic mechanisms for measuring and controlling system resources utilized by a program.

Symbolic constants are used to specify particular system resources and to request usage information about either the current process or its children.

A single exception is defined for errors:

error
The functions described below may raise this error if the underlying system call failures unexpectedly.