Returns the number of concurrent threads supported by the host system.
Name |
HostHardwareConcurrency |
Category |
|
Interface |
Integer |
Access |
Read |
Unit |
- |
Visibility |
Guru |
Values |
0 … 4294967295 Increment: 1 |
Standard |
IDS |
Availability uEye+ |
|
Availability uEye |
|
Code example
C++
// Determine the current HostHardwareConcurrency
int64_t value = nodeMapSystem->FindNode<peak::core::nodes::IntegerNode>("HostHardwareConcurrency")->Value();
C#
// Determine the current HostHardwareConcurrency
long value = nodeMapSystem.FindNode<peak.core.nodes.IntegerNode>("HostHardwareConcurrency").Value();
Python
# Determine the current HostHardwareConcurrency (int)
value = nodeMapSystem.FindNode("HostHardwareConcurrency").Value()