kong 1d48996375
多核负载均衡(#193)
* feat(sched):CPU负载检测初步实现

* fix(smp):调整smp中的apic的头文件声明

* fix(smp):简单的负载均衡算法实现

* fix(sched):抽离负载均衡方法

* fix(sched):修改rt中的运行队列bug,调整负载均衡逻辑

* fix(process):移除无用测试代码

* reformat code
2023-03-11 18:17:35 +08:00

40 lines
954 B
C

/**
* @file sched-wrapper.h
* @author longjin (longjin@RinGoTek.cn)
* @brief 这是为调度器相关接口创建rust绑定的wrapper
* @version 0.1
* @date 2022-11-10
*
* @copyright Copyright (c) 2022
*
*/
#pragma once
#include <common/blk_types.h>
#include <common/completion.h>
#include <common/crc16.h>
#include <common/crc32.h>
#include <common/crc64.h>
#include <common/crc7.h>
#include <common/crc8.h>
#include <common/gfp.h>
#include <common/glib.h>
#include <common/kfifo.h>
#include <common/kthread.h>
#include <common/list.h>
#include <common/lz4.h>
#include <common/printk.h>
#include <common/spinlock.h>
#include <common/time.h>
#include <common/unistd.h>
#include <driver/disk/ahci/ahci.h>
#include <include/DragonOS/refcount.h>
#include <include/DragonOS/signal.h>
#include <mm/mm.h>
#include <mm/slab.h>
#include <process/process.h>
#include <sched/sched.h>
#include <time/sleep.h>
#include <mm/mm-types.h>
#include <smp/smp.h>