TrinityCore
ProcessPriority.h File Reference
#include "Define.h"
#include <string>
+ Include dependency graph for ProcessPriority.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CONFIG_PROCESSOR_AFFINITY   "UseProcessors"
 
#define CONFIG_HIGH_PRIORITY   "ProcessPriority"
 

Functions

void TC_COMMON_API SetProcessPriority (std::string const &logChannel, uint32 affinity, bool highPriority)
 

Macro Definition Documentation

◆ CONFIG_HIGH_PRIORITY

#define CONFIG_HIGH_PRIORITY   "ProcessPriority"

Definition at line 25 of file ProcessPriority.h.

◆ CONFIG_PROCESSOR_AFFINITY

#define CONFIG_PROCESSOR_AFFINITY   "UseProcessors"

Definition at line 24 of file ProcessPriority.h.

Function Documentation

◆ SetProcessPriority()

void TC_COMMON_API SetProcessPriority ( std::string const &  logChannel,
uint32  affinity,
bool  highPriority 
)
  • Handle affinity for multiple processors and process priority

Definition at line 30 of file ProcessPriority.cpp.

+ Here is the caller graph for this function: