---
name: "MPIR_trspace"
section: "3"
platform: "linux"
package: "mpich"
version: "1.1.0-6"
release: "Debian 2.1 (Slink)"
platforms: ["linux"]
url: "https://new.carta.tech/MPIR_trspace"
---

# MPIR\_trspace(3)

Routines for tracing space usage

## NAME

MPIR\_trspace -  Routines for tracing space usage

## DESCRIPTION

MPIR\_trmalloc replaces malloc and MPIR\_trfree replaces free. These routines have the same syntax and semantics as the routines that they replace, In addition, there are routines to report statistics on the memory usage, and to report the currently allocated space.  These routines are built on top of malloc and free, and can be used together with them as long as any space allocated with MPIR\_trmalloc is only freed with MPIR\_trfree.

## LOCATION

tr.c
