suricata
ThreadsAffinityType_ Struct Reference

#include <util-affinity.h>

Data Fields

const char * name
 
uint8_t mode_flag
 
uint16_t lcpu
 
int prio
 
uint32_t nb_threads
 
SCMutex taf_mutex
 
cpu_set_t cpu_set
 
cpu_set_t lowprio_cpu
 
cpu_set_t medprio_cpu
 
cpu_set_t hiprio_cpu
 

Detailed Description

Definition at line 65 of file util-affinity.h.

Field Documentation

◆ cpu_set

cpu_set_t ThreadsAffinityType_::cpu_set

Definition at line 74 of file util-affinity.h.

Referenced by AffinityGetNextCPU(), and UtilAffinityGetAffinedCPUNum().

◆ hiprio_cpu

cpu_set_t ThreadsAffinityType_::hiprio_cpu

Definition at line 77 of file util-affinity.h.

◆ lcpu

uint16_t ThreadsAffinityType_::lcpu

Definition at line 68 of file util-affinity.h.

Referenced by AffinityGetNextCPU().

◆ lowprio_cpu

cpu_set_t ThreadsAffinityType_::lowprio_cpu

Definition at line 75 of file util-affinity.h.

◆ medprio_cpu

cpu_set_t ThreadsAffinityType_::medprio_cpu

Definition at line 76 of file util-affinity.h.

◆ mode_flag

uint8_t ThreadsAffinityType_::mode_flag

Definition at line 67 of file util-affinity.h.

◆ name

const char* ThreadsAffinityType_::name

Definition at line 66 of file util-affinity.h.

◆ nb_threads

uint32_t ThreadsAffinityType_::nb_threads

Definition at line 70 of file util-affinity.h.

Referenced by TmThreadGetNbThreads().

◆ prio

int ThreadsAffinityType_::prio

Definition at line 69 of file util-affinity.h.

◆ taf_mutex

SCMutex ThreadsAffinityType_::taf_mutex

Definition at line 71 of file util-affinity.h.

Referenced by AffinityGetNextCPU(), and UtilAffinityGetAffinedCPUNum().


The documentation for this struct was generated from the following file: