perfstat_reset Subroutine

Purpose

Empties libperfstat configuration information cache.

Library

Perfstat Library (libperfstat.a)

Syntax

#include <libperfstat.h>

void perfstat_reset (void)

Description

The perfstat_cpu_total, perfstat_disk, perfstat_diskadapter, perfstat_netinterface, and perfstat_pagingspace subroutines return configuration information retrieved from the ODM database and automatically cached by the library.

The perfstat_reset subroutine flushes this information cache and should be called whenever the machine configuration has changed.

This subroutine is not supported inside a workload partition (WPAR). It is not aware of a WPAR.

Files

The libperfstat.h defines standard macros, data types and subroutines.