nvramSetUpdateInterval

nvramSetUpdateInterval

Function

Sets the automatic NVRAM update interval.

Syntax

uint32 nvramSetUpdateInterval(uint32 interval_sec)

Description

Sets the automatic NVRAM update interval. This is the desired time between two updates. If system load is high, the actual time interval might be larger (depends significantly from the requested consistency level). If the actual update interval exceeds the requested interval for 10 times, a warning is issued inside the experiment environment.

Return code

EC_NVRAM_SUCCESS

Success

EC_NVRAM_INVALID_ARG

Interval_sec > 30

Parameter

interval_sec

Update interval in seconds. Must be a value between 0 and 30 (0: no periodical update).

Example

---

See also

nvramGetUpdateInterval