Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:cpuUsage
(Results
1 - 2
of
2
) sorted by relevance
/foundation/resourceschedule/work_scheduler/services/native/src/policy/
H
A
D
cpu_policy.cpp
52
int32_t
cpuUsage
= INIT_CPU;
in GetCpuUsage()
local
58
cpuUsage
= static_cast<int>(collectResult.data * UNIT);
in GetCpuUsage()
60
return
cpuUsage
;
in GetCpuUsage()
65
int32_t
cpuUsage
= GetCpuUsage();
in GetPolicyMaxRunning()
local
67
if (
cpuUsage
< CPU_LOW) {
in GetPolicyMaxRunning()
69
} else if (
cpuUsage
>= CPU_LOW &&
cpuUsage
< CPU_NORMAL) {
in GetPolicyMaxRunning()
71
} else if (
cpuUsage
>= CPU_NORMAL &&
cpuUsage
< CPU_HIGH) {
in GetPolicyMaxRunning()
76
WS_HILOGI("cpu_usage: %{public}d, policyRes: %{public}d",
cpuUsage
, policyRe
in GetPolicyMaxRunning()
[all...]
/foundation/resourceschedule/work_scheduler/services/test/src/policy/
H
A
D
cpu_policy_test.cpp
57
int32_t
cpuUsage
= cpuPolicy_->GetCpuUsage();
in HWTEST_F()
local
58
EXPECT_EQ(
cpuUsage
, 15);
in HWTEST_F()
70
int32_t
cpuUsage
= cpuPolicy_->GetCpuUsage();
in HWTEST_F()
local
71
EXPECT_TRUE(
cpuUsage
>= 0 &&
cpuUsage
<= 100);
in HWTEST_F()
82
int32_t
cpuUsage
= cpuPolicy_->GetCpuUsage();
in HWTEST_F()
local
83
EXPECT_TRUE(
cpuUsage
>= 0 &&
cpuUsage
<= 100);
in HWTEST_F()
Completed in 2 milliseconds