OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CPUSTATES
(Results
1 - 25
of
29
) sorted by relevancy
1
2
/src/usr.bin/systat/
ps.h
42
extern u_int64_t stime[
CPUSTATES
];
fetch.c
73
ssize =
CPUSTATES
* sizeof(u_int64_t);
pigs.c
64
uint64_t stime[
CPUSTATES
];
175
u_int64_t cputime[
CPUSTATES
];
210
for (i = 0; i <
CPUSTATES
; i++)
216
for (i = 0; i <
CPUSTATES
; i++)
iostat.c
218
for (i = 0; i <
CPUSTATES
; i++)
312
for (i = 0; i <
CPUSTATES
; i++)
/src/lib/librpcsvc/
rstat.x
56
const
CPUSTATES
= 4;
68
int cp_time[
CPUSTATES
];
87
int cp_time[
CPUSTATES
];
105
int cp_time[
CPUSTATES
];
/src/usr.bin/vmstat/
drvstats.h
56
u_int64_t cp_time[
CPUSTATES
]; /* System timer ticks. */
drvstats.c
156
for (i = 0; i <
CPUSTATES
; i++)
160
for (state = 0; state <
CPUSTATES
; ++state) {
/src/external/mit/libuv/dist/src/unix/
freebsd.c
44
#ifndef
CPUSTATES
45
# define
CPUSTATES
5U
243
size = maxcpus *
CPUSTATES
* sizeof(long);
269
cur+=
CPUSTATES
;
netbsd.c
213
size = numcpus *
CPUSTATES
* sizeof(*cp_times);
237
cur +=
CPUSTATES
;
openbsd.c
187
uint64_t info[
CPUSTATES
];
/src/external/bsd/top/dist/machine/
m_irix5.c
81
#define
CPUSTATES
6
130
int cpu_states[
CPUSTATES
];
310
static long cp_new[
CPUSTATES
];
311
static long cp_old[
CPUSTATES
];
312
static long cp_diff[
CPUSTATES
]; /* for cpu state percentages */
347
for (i = 0; i <
CPUSTATES
; i++) {
350
(void) percentages (
CPUSTATES
, cpu_states, cp_new, cp_old, cp_diff);
352
si->
cpustates
= cpu_states;
m_svr4.c
91
#define
CPUSTATES
5
169
int cpu_states[
CPUSTATES
];
291
static long cp_old[
CPUSTATES
];
292
static long cp_diff[
CPUSTATES
]; /* for cpu state percentages */
325
(void) percentages (
CPUSTATES
, cpu_states, sysinfo.cpu, cp_old, cp_diff);
350
si->
cpustates
= cpu_states;
m_sco5.c
179
#define
CPUSTATES
5 /* definition from struct sysinfo */
180
static time_t cp_time[
CPUSTATES
];
181
static time_t cp_old[
CPUSTATES
];
182
static time_t cp_diff[
CPUSTATES
];
185
int cpu_states[
CPUSTATES
];
426
total = percentages(
CPUSTATES
, cpu_states, cp_time, cp_old, cp_diff);
460
si->
cpustates
= cpu_states;
m_hpux7.c
193
static long cp_time[
CPUSTATES
];
194
static long cp_old[
CPUSTATES
];
195
static long cp_diff[
CPUSTATES
];
427
total = percentages(
CPUSTATES
, cpu_states, cp_time, cp_old, cp_diff);
447
si->
cpustates
= cpu_states;
m_hpux8.c
192
static long cp_time[
CPUSTATES
];
193
static long cp_old[
CPUSTATES
];
194
static long cp_diff[
CPUSTATES
];
385
total = percentages(
CPUSTATES
, cpu_states, cp_time, cp_old, cp_diff);
405
si->
cpustates
= cpu_states;
m_hpux9.c
204
static long cp_time[
CPUSTATES
];
205
static long cp_old[
CPUSTATES
];
206
static long cp_diff[
CPUSTATES
];
397
total = percentages(
CPUSTATES
, cpu_states, cp_time, cp_old, cp_diff);
417
si->
cpustates
= cpu_states;
m_sunos4.c
211
static long cp_time[
CPUSTATES
];
212
static long cp_old[
CPUSTATES
];
213
static long cp_diff[
CPUSTATES
];
489
total = percentages(
CPUSTATES
, cpu_states, cp_time, cp_old, cp_diff);
560
si->
cpustates
= cpu_states;
m_netbsd.c
336
cp_time = malloc(sizeof(cp_time[0]) *
CPUSTATES
* ncpu);
339
size = sizeof(cp_time[0]) *
CPUSTATES
* ncpu;
347
if (size == sizeof(cp_time[0]) *
CPUSTATES
)
350
cpu_states = malloc(sizeof(cpu_states[0]) *
CPUSTATES
* ncpu);
351
cp_old = calloc(
CPUSTATES
* ncpu, sizeof(cp_old[0]));
352
cp_diff = malloc(sizeof(cp_diff[0]) *
CPUSTATES
* ncpu);
522
ssize = sizeof(cp_time[0]) *
CPUSTATES
* ncpu;
539
int j = i *
CPUSTATES
;
540
percentages64(
CPUSTATES
, cpu_states + j, cp_time + j, cp_old + j,
601
si->
cpustates
= cpu_states
[
all
...]
m_sunos5.c
130
#define
CPUSTATES
5
238
unsigned int states[
CPUSTATES
];
281
int cpu_states[
CPUSTATES
];
1018
unsigned int (*cp_stats_p)[
CPUSTATES
];
1026
cp_stats = (unsigned int (*)[
CPUSTATES
])realloc(cp_stats,
1027
cpucount * sizeof(unsigned int) *
CPUSTATES
);
1402
static long cp_time[
CPUSTATES
];
1403
static long cp_old[
CPUSTATES
];
1404
static long cp_diff[
CPUSTATES
];
1427
for (j = 0; j <
CPUSTATES
; j++
[
all
...]
m_svr5.c
97
#define
CPUSTATES
5
170
int cpu_states[
CPUSTATES
];
324
static time_t cp_old[
CPUSTATES
];
325
static time_t cp_diff[
CPUSTATES
]; /* for cpu state percentages */
329
int new_states[
CPUSTATES
];
334
(void) percentages (
CPUSTATES
, cpu_states, new_states, cp_old, cp_diff);
367
si->
cpustates
= cpu_states;
/src/sys/arch/macppc/dev/
lightbar.c
235
* prev[
CPUSTATES
] stores old counter values, old[2] old bar lengths
244
for (i = 0; i <
CPUSTATES
; i++)
250
for (i = 0; i <
CPUSTATES
; i++)
268
uint64_t prev[2 *
CPUSTATES
];
271
for (i = 0; i < 2 *
CPUSTATES
; i++)
289
&prev[
CPUSTATES
], &old[2], intensity);
/src/sys/sys/
sched.h
141
#define
CPUSTATES
5
167
uint64_t spc_cp_time[
CPUSTATES
];/* s: CPU state statistics */
/src/libexec/rpc.rstatd/
rstat_proc.c
77
#undef
CPUSTATES
86
int cp_xlat[
CPUSTATES
] = { CP_USER, CP_NICE, CP_SYS, CP_IDLE };
211
for (i = 0; i <
CPUSTATES
; i++)
/src/sbin/sysctl/
sysctl.c
2268
sz = n * sizeof(u_int64_t) *
CPUSTATES
;
2272
sz = sizeof(u_int64_t) *
CPUSTATES
;
2282
rc = prog_sysctl(name, namelen, cp_time + (n != -1) *
CPUSTATES
, &osz,
2294
if (osz != sz - (n != -1) *
CPUSTATES
* sizeof(u_int64_t))
2303
memset(cp_time, 0, sizeof(u_int64_t) *
CPUSTATES
);
2305
cp_time[CP_USER] += cp_time[i *
CPUSTATES
+ CP_USER];
2306
cp_time[CP_NICE] += cp_time[i *
CPUSTATES
+ CP_NICE];
2307
cp_time[CP_SYS] += cp_time[i *
CPUSTATES
+ CP_SYS];
2308
cp_time[CP_INTR] += cp_time[i *
CPUSTATES
+ CP_INTR];
2309
cp_time[CP_IDLE] += cp_time[i *
CPUSTATES
+ CP_IDLE]
[
all
...]
/src/sys/kern/
init_sysctl.c
962
if (*oldlenp == sizeof(uint64_t) *
CPUSTATES
|| oldp == NULL) {
963
node.sysctl_size = sizeof(uint64_t) *
CPUSTATES
;
967
node.sysctl_size = n * sizeof(uint64_t) *
CPUSTATES
;
974
node.sysctl_size = sizeof(uint64_t) *
CPUSTATES
;
992
for (i = 0; i <
CPUSTATES
; i++) {
1006
cp_time +=
CPUSTATES
;
Completed in 47 milliseconds
1
2
Indexes created Thu Sep 24 00:25:51 UTC 2026