set_timer_slack

Langue: en

Version: October 2010 (fedora - 01/12/10)

Section: 9 (Appels noyau Linux)

NAME

set_timer_slack - set the allowed slack for a timer

SYNOPSIS

void set_timer_slack(struct timer_list * timer, int slack_hz);

ARGUMENTS

timer

-- undescribed --

slack_hz

the amount of time (in jiffies) allowed for rounding

DESCRIPTION

Set the amount of time, in jiffies, that a certain timer has in terms of slack. By setting this value, the timer subsystem will schedule the actual timer somewhere between the time mod_timer asks for, and that time plus the slack.

By setting the slack to -1, a percentage of the delay is used instead.