IDLive Face new C++ API 1.46.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
idliveface::RuntimeConfiguration Struct Reference

The resource management and performance configuration. More...

#include <idliveface/base_types.h>

Public Attributes

int32_t worker_threads = 0
 The number of threads used by IDLive Face for internal tasks.
 
int32_t backend_threads = 0
 The number of threads used by the Neural Network Backend.
 
int32_t backend_invocations = 0
 The maximum number of the concurrent Neural Network Backend's invocations.
 
std::map< std::string, std::string > parameters
 Other runtime parameters.
 

Detailed Description

The resource management and performance configuration.

Use CreateRuntimeConfiguration() to get optimized defaults.

Member Data Documentation

◆ backend_invocations

int32_t idliveface::RuntimeConfiguration::backend_invocations = 0

The maximum number of the concurrent Neural Network Backend's invocations.

Logically represent the number of Neural Networks that can be run at once.

◆ backend_threads

int32_t idliveface::RuntimeConfiguration::backend_threads = 0

The number of threads used by the Neural Network Backend.

Defines the number of active threads executed simultaneously by the Neural Network Backend. Depending on the backend it may be CPU threads or something else entirely.

◆ worker_threads

int32_t idliveface::RuntimeConfiguration::worker_threads = 0

The number of threads used by IDLive Face for internal tasks.

These tasks are always run on CPU.