OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MAX_CPU
(Results
1 - 3
of
3
) sorted by null
/frameworks/av/include/cpustats/
ThreadCpuUsage.h
129
static const int
MAX_CPU
= 8;
130
static int sScalingFds[
MAX_CPU
];// file descriptor per CPU for reading scaling_cur_freq
131
uint32_t mCurrentkHz[
MAX_CPU
]; // current CPU frequency in kHz, not static to avoid a race
133
static int sKernelMax; // like
MAX_CPU
, but determined at runtime == cpu/kernel_max + 1
/frameworks/av/media/libcpustats/
ThreadCpuUsage.cpp
164
int ThreadCpuUsage::sScalingFds[ThreadCpuUsage::
MAX_CPU
];
181
if (sKernelMax >=
MAX_CPU
- 1) {
182
ALOGW("kernel_max %d but
MAX_CPU
%d", sKernelMax,
MAX_CPU
);
183
sKernelMax =
MAX_CPU
;
199
for (i = 0; i <
MAX_CPU
; ++i) {
206
if (cpuNum < 0 || cpuNum >=
MAX_CPU
) {
220
static_assert(
MAX_CPU
<= 10, "
MAX_CPU
too large");
/system/extras/sane_schedstat/
sane_schedstat.c
31
#define
MAX_CPU
2
54
struct cpu_stat cpu_prev[
MAX_CPU
];
55
struct cpu_stat cpu_delta[
MAX_CPU
];
73
for (i=0; i<
MAX_CPU
; i++) {
Completed in 269 milliseconds