OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:swap_total
(Results
1 - 5
of
5
) sorted by null
/external/autotest/client/site_tests/platform_CompressedSwapPerf/
platform_CompressedSwapPerf.py
183
self.
swap_total
= utils.read_from_meminfo('SwapTotal')
186
self.swap_used = self.
swap_total
- self.swap_free
195
self.usage_ratio = float(self.swap_used) / self.
swap_total
282
swap_target_usage = swap_target * self.
swap_total
/system/core/metricsd/
metrics_collector.cc
494
int
swap_total
= 0;
local
512
swap_total
= fields[i].value;
518
if (
swap_total
> 0) {
519
int swap_used =
swap_total
- swap_free;
520
int swap_used_percent = swap_used * 100 /
swap_total
;
/external/libchrome/base/process/
process_metrics.h
272
int
swap_total
;
member in struct:base::SystemMemoryInfoKB
process_metrics_unittest.cc
180
EXPECT_EQ(meminfo.
swap_total
, 5832280);
192
EXPECT_EQ(meminfo.
swap_total
, 524280);
process_metrics_linux.cc
542
swap_total
= 0;
569
res->SetInteger("
swap_total
",
swap_total
);
571
res->SetInteger("swap_used",
swap_total
- swap_free);
633
target = &meminfo->
swap_total
;
Completed in 64 milliseconds