NetIF_CfgPerfMonPeriod

Configure the network interface Performance Monitor Handler timeout.

Files

net_if.h/net_if.c

Prototype

          CPU_BOOLEAN NetIF_CfgPerfMonPeriod(CPU_INT16U timeout_ms);

Arguments

timeout_ms

Desired value for network interface Performance Monitor Handler timeout (in milliseconds).

Returned Value

DEF_OK,

Network interface Performance Monitor Handler timeout configured;

DEF_FAIL,

otherwise.

Required Configuration

Available only if NET_CTR_CFG_STAT_EN is enabled (see section Network Stack Configuration).

Notes / Warnings

None.