Interface AdvancedMachineFeaturesOrBuilder (2.3.8)

public interface AdvancedMachineFeaturesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getThreadsPerCore()

public abstract long getThreadsPerCore()

The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.

optional int64 threads_per_core = 1;

Returns
TypeDescription
long

The threadsPerCore.

hasThreadsPerCore()

public abstract boolean hasThreadsPerCore()

The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.

optional int64 threads_per_core = 1;

Returns
TypeDescription
boolean

Whether the threadsPerCore field is set.