CPUInfoOrBuilder

giao diện công cộng CPUInfoOrBuilder
Các lớp con gián tiếp đã biết

Phương pháp công cộng

trừu tượng boolean
chứaCacheSize (Khóa chuỗi)
 Cache sizes (in bytes), e.g.
Bản đồ trừu tượng<Chuỗi, Dài>
getCacheSize ()
Thay vào đó hãy sử dụng getCacheSizeMap() .
int trừu tượng
getCacheSizeCount ()
 Cache sizes (in bytes), e.g.
Bản đồ trừu tượng<Chuỗi, Dài>
getCacheSizeMap ()
 Cache sizes (in bytes), e.g.
trừu tượng dài
getCacheSizeOrDefault (Khóa chuỗi, giá trị mặc định dài)
 Cache sizes (in bytes), e.g.
trừu tượng dài
getCacheSizeOrThrow (Khóa chuỗi)
 Cache sizes (in bytes), e.g.
chuỗi trừu tượng
getCpuGovernor ()
 What kind of cpu scaling is enabled on the host.
tóm tắt com.google.protobuf.ByteString
getCpuGovernorBytes ()
 What kind of cpu scaling is enabled on the host.
chuỗi trừu tượng
getCpuInfo ()
 Additional cpu information.
tóm tắt com.google.protobuf.ByteString
getCpuInfoBytes ()
 Additional cpu information.
trừu tượng đôi
getMhzPerCpu ()
 How fast are these cpus?
 
double mhz_per_cpu = 3;
trừu tượng dài
getNumCores ()
int64 num_cores = 1;
trừu tượng dài
getNumCoresAllowed ()
int64 num_cores_allowed = 2;

Phương pháp công cộng

boolean trừu tượng công khai chứaCacheSize (Khóa chuỗi)

 Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
 
map<string, int64> cache_size = 6;

bản đồ trừu tượng công khai<String, Long> getCacheSize ()

Thay vào đó hãy sử dụng getCacheSizeMap() .

tóm tắt công khai int getCacheSizeCount ()

 Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
 
map<string, int64> cache_size = 6;

Bản đồ trừu tượng công khai<String, Long> getCacheSizeMap ()

 Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
 
map<string, int64> cache_size = 6;

tóm tắt công khai dài getCacheSizeOrDefault (Khóa chuỗi, giá trị mặc định dài)

 Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
 
map<string, int64> cache_size = 6;

tóm tắt công khai dài getCacheSizeOrThrow (Khóa chuỗi)

 Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
 
map<string, int64> cache_size = 6;

Chuỗi tóm tắt công khai getCpuGovernor ()

 What kind of cpu scaling is enabled on the host.
 Examples include "performance", "ondemand", "conservative", "mixed".
 
string cpu_governor = 5;

tóm tắt công khai com.google.protobuf.ByteString getCpuGovernorBytes ()

 What kind of cpu scaling is enabled on the host.
 Examples include "performance", "ondemand", "conservative", "mixed".
 
string cpu_governor = 5;

Chuỗi tóm tắt công khai getCpuInfo ()

 Additional cpu information. For example,
 Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
 
string cpu_info = 4;

tóm tắt công khai com.google.protobuf.ByteString getCpuInfoBytes ()

 Additional cpu information. For example,
 Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
 
string cpu_info = 4;

tóm tắt công khai gấp đôi getMhzPerCpu ()

 How fast are these cpus?
 
double mhz_per_cpu = 3;

tóm tắt công khai dài getNumCores ()

int64 num_cores = 1;

tóm tắt công khai dài getNumCoresAllowed ()

int64 num_cores_allowed = 2;