Server IP : 15.235.198.142 / Your IP : 216.73.216.30 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/src/linux-headers-6.8.0-45/include/linux/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2018 Linaro Ltd * * Author: Daniel Lezcano <daniel.lezcano@linaro.org> * */ #ifndef __IDLE_INJECT_H__ #define __IDLE_INJECT_H__ /* private idle injection device structure */ struct idle_inject_device; struct idle_inject_device *idle_inject_register(struct cpumask *cpumask); struct idle_inject_device *idle_inject_register_full(struct cpumask *cpumask, bool (*update)(void)); void idle_inject_unregister(struct idle_inject_device *ii_dev); int idle_inject_start(struct idle_inject_device *ii_dev); void idle_inject_stop(struct idle_inject_device *ii_dev); void idle_inject_set_duration(struct idle_inject_device *ii_dev, unsigned int run_duration_us, unsigned int idle_duration_us); void idle_inject_get_duration(struct idle_inject_device *ii_dev, unsigned int *run_duration_us, unsigned int *idle_duration_us); void idle_inject_set_latency(struct idle_inject_device *ii_dev, unsigned int latency_us); #endif /* __IDLE_INJECT_H__ */