Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
GenericPlatformAffinity.h File Reference
#include "CoreTypes.h"
#include "Misc/EnumClassFlags.h"
+ Include dependency graph for GenericPlatformAffinity.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FGenericPlatformAffinity
 

Macros

#define MAKEAFFINITYMASK1(x)   ((1<<x))
 
#define MAKEAFFINITYMASK2(x, y)   ((1<<x)+(1<<y))
 
#define MAKEAFFINITYMASK3(x, y, z)   ((1<<x)+(1<<y)+(1<<z))
 
#define MAKEAFFINITYMASK4(w, x, y, z)   ((1<<w)+(1<<x)+(1<<y)+(1<<z))
 
#define MAKEAFFINITYMASK5(v, w, x, y, z)   ((1<<v)+(1<<w)+(1<<x)+(1<<y)+(1<<z))
 
#define MAKEAFFINITYMASK6(u, v, w, x, y, z)   ((1<<u)+(1<<v)+(1<<w)+(1<<x)+(1<<y)+(1<<z))
 
#define MAKEAFFINITYMASK7(t, u, v, w, x, y, z)   ((1<<t)+(1<<u)+(1<<v)+(1<<w)+(1<<x)+(1<<y)+(1<<z))
 
#define MAKEAFFINITYMASK8(s, t, u, v, w, x, y, z)   ((1<<s)+(1<<t)+(1<<u)+(1<<v)+(1<<w)+(1<<x)+(1<<y)+(1<<z))
 
#define MAKEAFFINITYMASK9(r, s, t, u, v, w, x, y, z)   ((1<<r)+(1<<s)+(1<<t)+(1<<u)+(1<<v)+(1<<w)+(1<<x)+(1<<y)+(1<<z))
 
#define MAKEAFFINITYMASK10(q, r, s, t, u, v, w, x, y, z)   ((1<<q)+(1<<r)+(1<<s)+(1<<t)+(1<<u)+(1<<v)+(1<<w)+(1<<x)+(1<<y)+(1<<z))
 
#define MAKEAFFINITYMASK11(p, q, r, s, t, u, v, w, x, y, z)   ((1<<p)+(1<<q)+(1<<r)+(1<<s)+(1<<t)+(1<<u)+(1<<v)+(1<<w)+(1<<x)+(1<<y)+(1<<z))
 
#define MAKEAFFINITYMASK12(o, p, q, r, s, t, u, v, w, x, y, z)   ((1<<o)+(1<<p)+(1<<q)+(1<<r)+(1<<s)+(1<<t)+(1<<u)+(1<<v)+(1<<w)+(1<<x)+(1<<y)+(1<<z))
 
#define MAKEAFFINITYMASK13(n, o, p, q, r, s, t, u, v, w, x, y, z)   ((1<<n)+(1<<o)+(1<<p)+(1<<q)+(1<<r)+(1<<s)+(1<<t)+(1<<u)+(1<<v)+(1<<w)+(1<<x)+(1<<y)+(1<<z))
 

Enumerations

enum  EThreadPriority {
  TPri_Normal = 0x0 , TPri_AboveNormal = 0x1 , TPri_BelowNormal = 0x2 , TPri_Highest = 0x3 ,
  TPri_Lowest = 0x4 , TPri_SlightlyBelowNormal = 0x5 , TPri_TimeCritical = 0x6 , TPri_Num = 0x7 ,
  TPri_Normal , TPri_Normal = 0x0 , TPri_AboveNormal , TPri_AboveNormal = 0x1 ,
  TPri_BelowNormal , TPri_BelowNormal = 0x2 , TPri_Highest , TPri_Highest = 0x3 ,
  TPri_Lowest , TPri_Lowest = 0x4 , TPri_SlightlyBelowNormal , TPri_SlightlyBelowNormal = 0x5 ,
  TPri_TimeCritical , TPri_TimeCritical = 0x6 , TPri_Num , TPri_Num = 0x7
}
 
enum class  EThreadCreateFlags : int8 { None = 0x0 , SMTExclusive = 0x1 , None = 0 , SMTExclusive = (1 << 0) }
 

Functions

 ENUM_CLASS_FLAGS (EThreadCreateFlags)
 

Macro Definition Documentation

◆ MAKEAFFINITYMASK1

#define MAKEAFFINITYMASK1 ( x)    ((1<<x))

Definition at line 8 of file GenericPlatformAffinity.h.

◆ MAKEAFFINITYMASK10

#define MAKEAFFINITYMASK10 ( q,
r,
s,
t,
u,
v,
w,
x,
y,
z )   ((1<<q)+(1<<r)+(1<<s)+(1<<t)+(1<<u)+(1<<v)+(1<<w)+(1<<x)+(1<<y)+(1<<z))

Definition at line 17 of file GenericPlatformAffinity.h.

◆ MAKEAFFINITYMASK11

#define MAKEAFFINITYMASK11 ( p,
q,
r,
s,
t,
u,
v,
w,
x,
y,
z )   ((1<<p)+(1<<q)+(1<<r)+(1<<s)+(1<<t)+(1<<u)+(1<<v)+(1<<w)+(1<<x)+(1<<y)+(1<<z))

Definition at line 18 of file GenericPlatformAffinity.h.

◆ MAKEAFFINITYMASK12

#define MAKEAFFINITYMASK12 ( o,
p,
q,
r,
s,
t,
u,
v,
w,
x,
y,
z )   ((1<<o)+(1<<p)+(1<<q)+(1<<r)+(1<<s)+(1<<t)+(1<<u)+(1<<v)+(1<<w)+(1<<x)+(1<<y)+(1<<z))

Definition at line 19 of file GenericPlatformAffinity.h.

◆ MAKEAFFINITYMASK13

#define MAKEAFFINITYMASK13 ( n,
o,
p,
q,
r,
s,
t,
u,
v,
w,
x,
y,
z )   ((1<<n)+(1<<o)+(1<<p)+(1<<q)+(1<<r)+(1<<s)+(1<<t)+(1<<u)+(1<<v)+(1<<w)+(1<<x)+(1<<y)+(1<<z))

Definition at line 20 of file GenericPlatformAffinity.h.

◆ MAKEAFFINITYMASK2

#define MAKEAFFINITYMASK2 ( x,
y )   ((1<<x)+(1<<y))

Definition at line 9 of file GenericPlatformAffinity.h.

◆ MAKEAFFINITYMASK3

#define MAKEAFFINITYMASK3 ( x,
y,
z )   ((1<<x)+(1<<y)+(1<<z))

Definition at line 10 of file GenericPlatformAffinity.h.

◆ MAKEAFFINITYMASK4

#define MAKEAFFINITYMASK4 ( w,
x,
y,
z )   ((1<<w)+(1<<x)+(1<<y)+(1<<z))

Definition at line 11 of file GenericPlatformAffinity.h.

◆ MAKEAFFINITYMASK5

#define MAKEAFFINITYMASK5 ( v,
w,
x,
y,
z )   ((1<<v)+(1<<w)+(1<<x)+(1<<y)+(1<<z))

Definition at line 12 of file GenericPlatformAffinity.h.

◆ MAKEAFFINITYMASK6

#define MAKEAFFINITYMASK6 ( u,
v,
w,
x,
y,
z )   ((1<<u)+(1<<v)+(1<<w)+(1<<x)+(1<<y)+(1<<z))

Definition at line 13 of file GenericPlatformAffinity.h.

◆ MAKEAFFINITYMASK7

#define MAKEAFFINITYMASK7 ( t,
u,
v,
w,
x,
y,
z )   ((1<<t)+(1<<u)+(1<<v)+(1<<w)+(1<<x)+(1<<y)+(1<<z))

Definition at line 14 of file GenericPlatformAffinity.h.

◆ MAKEAFFINITYMASK8

#define MAKEAFFINITYMASK8 ( s,
t,
u,
v,
w,
x,
y,
z )   ((1<<s)+(1<<t)+(1<<u)+(1<<v)+(1<<w)+(1<<x)+(1<<y)+(1<<z))

Definition at line 15 of file GenericPlatformAffinity.h.

◆ MAKEAFFINITYMASK9

#define MAKEAFFINITYMASK9 ( r,
s,
t,
u,
v,
w,
x,
y,
z )   ((1<<r)+(1<<s)+(1<<t)+(1<<u)+(1<<v)+(1<<w)+(1<<x)+(1<<y)+(1<<z))

Definition at line 16 of file GenericPlatformAffinity.h.

Enumeration Type Documentation

◆ EThreadCreateFlags

Enumerator
None 
SMTExclusive 
None 
SMTExclusive 

Definition at line 37 of file GenericPlatformAffinity.h.

◆ EThreadPriority

The list of enumerated thread priorities we support

Enumerator
TPri_Normal 
TPri_AboveNormal 
TPri_BelowNormal 
TPri_Highest 
TPri_Lowest 
TPri_SlightlyBelowNormal 
TPri_TimeCritical 
TPri_Num 
TPri_Normal 
TPri_Normal 
TPri_AboveNormal 
TPri_AboveNormal 
TPri_BelowNormal 
TPri_BelowNormal 
TPri_Highest 
TPri_Highest 
TPri_Lowest 
TPri_Lowest 
TPri_SlightlyBelowNormal 
TPri_SlightlyBelowNormal 
TPri_TimeCritical 
TPri_TimeCritical 
TPri_Num 
TPri_Num 

Definition at line 25 of file GenericPlatformAffinity.h.

Function Documentation

◆ ENUM_CLASS_FLAGS()

ENUM_CLASS_FLAGS ( EThreadCreateFlags )