# 17.2.346. MPI_T_category_changed

MPI_T_category_changed — Get a timestamp for the categories

## 17.2.346.1. SYNTAX

### 17.2.346.1.1. C Syntax

    #include <mpi.h>

    int MPI_T_category_changed(int *stamp)

## 17.2.346.2. INPUT PARAMETERS

- `stamp`: A virtual time stamp to indicate the last change to the categories.

## 17.2.346.3. DESCRIPTION

If two subsequent calls to this routine return the same timestamp, it is guaranteed that no categories have been changed or added. If the timestamp from the second call is higher than some categories have been added or changed.

## 17.2.346.4. ERRORS

MPI_T_category_changed will fail if:

- `MPI_T_ERR_NOT_INITIALIZED`: The MPI Tools interface not initialized