| Server IP : 104.21.25.182 / Your IP : 216.73.216.69 Web Server : Apache System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64 User : nobi37te ( 1003) PHP Version : 8.2.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/src/kernels/5.14.0-687.42.1.el9_8.x86_64/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__ */