public class CpuTopology extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CpuTopology() | 
| CpuTopology(CpuTopology source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getCoreCount()Get 决定启用的CPU物理核心数。 | 
| Long | getThreadPerCore()Get 每核心线程数。该参数决定是否开启或关闭超线程。 1 表示关闭超线程 2 表示开启超线程 不设置时,实例使用默认的超线程策略。开关超线程请参考文档:[开启与关闭超线程](https://cloud.tencent.com/document/product/213/103798)。 | 
| void | setCoreCount(Long CoreCount)Set 决定启用的CPU物理核心数。 | 
| void | setThreadPerCore(Long ThreadPerCore)Set 每核心线程数。该参数决定是否开启或关闭超线程。 1 表示关闭超线程 2 表示开启超线程 不设置时,实例使用默认的超线程策略。开关超线程请参考文档:[开启与关闭超线程](https://cloud.tencent.com/document/product/213/103798)。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CpuTopology()
public CpuTopology(CpuTopology source)
public Long getCoreCount()
public void setCoreCount(Long CoreCount)
CoreCount - 决定启用的CPU物理核心数。public Long getThreadPerCore()
public void setThreadPerCore(Long ThreadPerCore)
ThreadPerCore - 每核心线程数。该参数决定是否开启或关闭超线程。Copyright © 2025. All rights reserved.