This commit is contained in:
Tsanie Lily 2025-03-18 10:21:53 +08:00
parent c0d6450a87
commit 73647e3fad

View File

@ -439,27 +439,27 @@ __PACKAGE__->register_method({
},
},
cpu => {
description => "The current cpu usage.",
type => "number",
description => "The current cpu usage.",
},
cpuinfo => {
type => "object",
properties => {
cores => {
description => "The number of physical cores of the CPU.",
type => "integer",
description => "The number of physical cores of the CPU.",
},
cpus => {
description => "The number of logical threads of the CPU.",
type => "integer",
description => "The number of logical threads of the CPU.",
},
model => {
description => "The CPU model",
type => "string",
description => "The CPU model",
},
sockets => {
description => "The number of logical threads of the CPU.",
type => "integer",
description => "The number of logical threads of the CPU.",
},
},
},