mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-31 08:28:13 +00:00
26 lines
686 B
C
26 lines
686 B
C
|
/*
|
||
|
* latency.h: Explicit system-wide latency-expectation infrastructure
|
||
|
*
|
||
|
* (C) Copyright 2006 Intel Corporation
|
||
|
* Author: Arjan van de Ven <arjan@linux.intel.com>
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#ifndef _INCLUDE_GUARD_LATENCY_H_
|
||
|
#define _INCLUDE_GUARD_LATENCY_H_
|
||
|
|
||
|
#include <linux/notifier.h>
|
||
|
|
||
|
void set_acceptable_latency(char *identifier, int usecs);
|
||
|
void modify_acceptable_latency(char *identifier, int usecs);
|
||
|
void remove_acceptable_latency(char *identifier);
|
||
|
void synchronize_acceptable_latency(void);
|
||
|
int system_latency_constraint(void);
|
||
|
|
||
|
int register_latency_notifier(struct notifier_block * nb);
|
||
|
int unregister_latency_notifier(struct notifier_block * nb);
|
||
|
|
||
|
#define INFINITE_LATENCY 1000000
|
||
|
|
||
|
#endif
|