mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-25 12:10:24 +00:00
e9a9d32ab6
- combine c and kernel-examples as it's confusing to have both - rename 'rust-user' and 'c-user' to just 'rust' and 'c', which is simpler - update and fix sync-to-kernel.sh
18 lines
389 B
C
18 lines
389 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
/* Copyright (c) 2022 Meta, Inc */
|
|
|
|
#ifndef __SCX_USERLAND_COMMON_H
|
|
#define __SCX_USERLAND_COMMON_H
|
|
|
|
/*
|
|
* An instance of a task that has been enqueued by the kernel for consumption
|
|
* by a user space global scheduler thread.
|
|
*/
|
|
struct scx_userland_enqueued_task {
|
|
__s32 pid;
|
|
u64 sum_exec_runtime;
|
|
u64 weight;
|
|
};
|
|
|
|
#endif // __SCX_USERLAND_COMMON_H
|