#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/ioctl.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/mm.h>
#include <linux/devfs_fs_kernel.h>
#include <linux/mmtimer.h>
#include <linux/miscdevice.h>
#include <linux/posix-timers.h>
#include <linux/interrupt.h>
#include <linux/config.h>
#include <linux/spinlock.h>
#include <linux/aquosa/qos_debug.h>
Go to the source code of this file.
Functions | |
int | timer_thread (void *_c) |
void | start_timer_thread (void) |
void | stop_timer_thread (void) |
Variables | |
pid_t | timer_thread_pid |
struct task_struct * | p_timer_thread_ts = 0 |
int | force_ksoftirqd |
struct k_itimer | timer |
struct itimerspec | its |
struct itimerval | itv |
void start_timer_thread | ( | void | ) |
Definition at line 152 of file qres_timer_thread.c.
References qos_log_crit, timer_thread(), and timer_thread_pid.
void stop_timer_thread | ( | void | ) |
Definition at line 164 of file qres_timer_thread.c.
References p_timer_thread_ts, and qos_log_crit.
int timer_thread | ( | void * | _c | ) |
Definition at line 49 of file qres_timer_thread.c.
References current, force_ksoftirqd, itv, jiffies, p_timer_thread_ts, qos_log_crit, spin_lock_irqsave(), spin_unlock_irqrestore(), and timer.
Referenced by start_timer_thread().
int force_ksoftirqd |
Referenced by timer_thread().
struct itimerspec its |
{ .it_interval = { .tv_sec = 0, .tv_nsec = 100000000 }, .it_value = { .tv_sec = 0, .tv_nsec = 100000000 } }
Definition at line 27 of file qres_timer_thread.c.
struct itimerval itv |
{ .it_interval = { .tv_sec = 0, .tv_usec = 100000 }, .it_value = { .tv_sec = 0, .tv_usec = 100000 } }
Definition at line 38 of file qres_timer_thread.c.
Referenced by timer_thread().
struct task_struct* p_timer_thread_ts = 0 |
Definition at line 21 of file qres_timer_thread.c.
Referenced by stop_timer_thread(), and timer_thread().
struct k_itimer timer |
Definition at line 25 of file qres_timer_thread.c.
Referenced by hrt_callback(), and timer_thread().
pid_t timer_thread_pid |
Definition at line 20 of file qres_timer_thread.c.
Referenced by start_timer_thread().