projects/linux·blob master · refs

19 lines · 493 B

1// SPDX-License-Identifier: GPL-2.0
2#pragma once
3/*
4 * Copyright (C) 2023 Red Hat Inc, Daniel Bristot de Oliveira <[email protected]>
5 */
6
7struct timerlat_u_params {
8 /* timerlat -> timerlat_u: user-space threads can keep running */
9 int should_run;
10 /* timerlat_u -> timerlat: all timerlat_u threads left, no reason to continue */
11 int stopped_running;
12
13 /* threads config */
14 cpu_set_t *set;
15 char *cgroup_name;
16 struct sched_attr *sched_param;
17};
18
19void *timerlat_u_dispatcher(void *data);