Remove unused cpu members and simplify comments
This commit is contained in:
parent
d8845acb9f
commit
9d83a319b0
11
emu.h
11
emu.h
@ -306,20 +306,15 @@ struct ovni_cpu {
|
|||||||
/* CPU channels */
|
/* CPU channels */
|
||||||
struct ovni_chan chan[CHAN_MAX];
|
struct ovni_chan chan[CHAN_MAX];
|
||||||
|
|
||||||
size_t last_nthreads;
|
/* The threads assigned to this CPU */
|
||||||
|
|
||||||
/* 1 if the cpu has updated is threads, 0 if not */
|
|
||||||
int updated;
|
|
||||||
|
|
||||||
/* The threads with affinity set to this CPU */
|
|
||||||
size_t nthreads;
|
size_t nthreads;
|
||||||
struct ovni_ethread *thread[OVNI_MAX_THR];
|
struct ovni_ethread *thread[OVNI_MAX_THR];
|
||||||
|
|
||||||
/* From the assigned threads, how many running */
|
/* Running threads */
|
||||||
size_t nrunning_threads;
|
size_t nrunning_threads;
|
||||||
struct ovni_ethread *th_running;
|
struct ovni_ethread *th_running;
|
||||||
|
|
||||||
/* Number of assigned threads active */
|
/* Active threads (not paused or dead) */
|
||||||
size_t nactive_threads;
|
size_t nactive_threads;
|
||||||
struct ovni_ethread *th_active;
|
struct ovni_ethread *th_active;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user