OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:cp_time
(Results
1 - 3
of
3
) sorted by relevancy
/src/usr.bin/vmstat/
drvstats.h
56
u_int64_t
cp_time
[CPUSTATES]; /* System timer ticks. */
member in struct:_drive
/src/sys/kern/
init_sysctl.c
376
CTLTYPE_STRUCT, "
cp_time
",
940
* sysctl helper routine for kern.
cp_time
node. Adds up cpu time
947
uint64_t *
cp_time
= NULL;
local
955
* of
cp_time
(and the size thereof) across all processors.
958
*
cp_time
for that particular processor.
986
cp_time
= kmem_alloc(node.sysctl_size, KM_SLEEP);
987
node.sysctl_data =
cp_time
;
988
memset(
cp_time
, 0, node.sysctl_size);
993
cp_time
[i] += ci->ci_schedstate.spc_cp_time[i];
1003
* if doing "all", skip to next
cp_time
set for next processo
[
all
...]
/src/sbin/sysctl/
sysctl.c
193
{ "/kern/
cp_time
(/[0-9]+)?", kern_cp_time, NULL, NULL },
2249
u_int64_t *
cp_time
;
local
2252
char s[sizeof("kern.
cp_time
.nnnnnn")];
2275
cp_time
= malloc(sz);
2276
if (
cp_time
== NULL) {
2282
rc = prog_sysctl(name, namelen,
cp_time
+ (n != -1) * CPUSTATES, &osz,
2287
free(
cp_time
);
2303
memset(
cp_time
, 0, sizeof(u_int64_t) * CPUSTATES);
2305
cp_time
[CP_USER] +=
cp_time
[i * CPUSTATES + CP_USER]
[
all
...]
Completed in 20 milliseconds
Indexes created Sat Feb 21 08:20:20 UTC 2026