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:timeMs
(Results
1 - 5
of
5
) sorted by relevance
/base/sensors/sensor/vibration_convert/core/utils/include/
H
A
D
audio_utils.h
54
* @param
timeMs
The number of milliseconds
57
size_t ConvertMsToSamps(double
timeMs
, double sampleRate)
in ConvertMsToSamps()
argument
59
return static_cast<size_t>((
timeMs
/ SAMPLE_IN_MS) * sampleRate);
in ConvertMsToSamps()
/base/powermgr/battery_statistics/services/native/src/
H
A
D
battery_stats_service.cpp
282
double
timeMs
= static_cast<double>(core_->GetTotalTimeMs(uid, statsType));
in GetTotalTimeSecond()
local
283
timeSecond = round(
timeMs
/ StatsUtils::MS_IN_SECOND);
in GetTotalTimeSecond()
285
double
timeMs
= static_cast<double>(core_->GetTotalTimeMs(statsType));
in GetTotalTimeSecond()
local
286
timeSecond = round(
timeMs
/ StatsUtils::MS_IN_SECOND);
in GetTotalTimeSecond()
H
A
D
cpu_time_reader.cpp
169
int64_t
timeMs
= 0;
in ReadUidCpuActiveTimeImpl()
local
173
timeMs
+= stoll(splitedTime[i]) * 10; // Unit is 10ms
in ReadUidCpuActiveTimeImpl()
177
if (
timeMs
> 0) {
in ReadUidCpuActiveTimeImpl()
180
increment =
timeMs
- iterLast->second;
in ReadUidCpuActiveTimeImpl()
182
iterLast->second =
timeMs
;
in ReadUidCpuActiveTimeImpl()
188
lastActiveTimeMap_.insert(std::pair<int32_t, int64_t>(uid,
timeMs
));
in ReadUidCpuActiveTimeImpl()
189
increment =
timeMs
;
in ReadUidCpuActiveTimeImpl()
/base/powermgr/battery_statistics/services/native/src/entities/
H
A
D
screen_entity.cpp
91
auto
timeMs
= GetActiveTimeMs(StatsUtils::STATS_TYPE_SCREEN_BRIGHTNESS, iter.first);
in Calculate()
local
92
brightnessPowerMah += averageMa *
timeMs
;
in Calculate()
/base/powermgr/battery_statistics/test/unittest/src/clienttest/
H
A
D
stats_util_test.cpp
311
int64_t
timeMs
= StatsUtils::DEFAULT_VALUE;
in HWTEST_F()
local
316
timeMs
= StatsHelper::GetOnBatteryUpTimeMs();
in HWTEST_F()
318
durationTimeMs = abs(StatsHelper::GetOnBatteryUpTimeMs() -
timeMs
);
in HWTEST_F()
323
timeMs
= StatsHelper::GetOnBatteryUpTimeMs();
in HWTEST_F()
325
durationTimeMs = abs(StatsHelper::GetOnBatteryUpTimeMs() -
timeMs
);
in HWTEST_F()
Completed in 4 milliseconds