[리눅스커널] 스케줄링: struct sched_info 구조체 알아보기

Guillermo Austin Kim|2019년 8월 7일
Posts

[리눅스커널] 스케줄링: struct sched_info 구조체 알아보기

Guillermo Austin Kim|2019년 8월 7일

struct sched_info 구조체는 프로세스의 스케줄링 동작 세부 정보를 저장하며 실체는 다음과 같습니다.[https://elixir.bootlin.com/linux/v4.19.30/source/include/linux/sched.h] struct sched_info {#ifdef CONFIG_SCHED_INFO /* Cumulative counters: */ /* # of times we have run on this CPU: */ unsigned long pcount; /* Time spent waiting on a runqueue: */ unsigned long long run_delay; /* Timestamps: */ /* When did we last run on a CP