Searched refs:swap_info (Results 1 – 3 of 3) sorted by relevance
/external/libchrome/base/process/ |
D | process_metrics_linux.cc | 824 bool ParseZramMmStat(StringPiece mm_stat_data, SwapInfo* swap_info) { in ParseZramMmStat() argument 842 if (!StringToUint64(tokens[0], &swap_info->orig_data_size)) in ParseZramMmStat() 844 if (!StringToUint64(tokens[1], &swap_info->compr_data_size)) in ParseZramMmStat() 846 if (!StringToUint64(tokens[2], &swap_info->mem_used_total)) in ParseZramMmStat() 852 bool ParseZramStat(StringPiece stat_data, SwapInfo* swap_info) { in ParseZramStat() argument 870 if (!StringToUint64(tokens[0], &swap_info->num_reads)) in ParseZramStat() 872 if (!StringToUint64(tokens[4], &swap_info->num_writes)) in ParseZramStat() 880 bool IgnoreZramFirstPage(uint64_t orig_data_size, SwapInfo* swap_info) { in IgnoreZramFirstPage() argument 884 swap_info->orig_data_size = 0; in IgnoreZramFirstPage() 885 swap_info->num_reads = 0; in IgnoreZramFirstPage() [all …]
|
D | process_metrics.h | 464 BASE_EXPORT bool ParseZramMmStat(StringPiece mm_stat_data, SwapInfo* swap_info); 470 BASE_EXPORT bool ParseZramStat(StringPiece stat_data, SwapInfo* swap_info); 475 BASE_EXPORT bool GetSwapInfo(SwapInfo* swap_info);
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | memory_optimizer.cc | 806 const NodeDef* node, const SwapInfo& swap_info, in FindSwapInTrigger() argument 831 for (const int i : swap_info.inputs_to_swap) { in FindSwapInTrigger() 839 max_trigger_time -= swap_info.time_to_swap; in FindSwapInTrigger() 1163 SwapInfo& swap_info = nodes_to_swap[&node]; in SwappingPass() local 1167 swap_info.inputs_to_swap.push_back(input_id); in SwappingPass() 1171 swap_info.inputs_to_swap.push_back(input_id); in SwappingPass() 1193 SwapInfo& swap_info = swap.second; in SwappingPass() local 1195 for (int64 input_id : swap_info.inputs_to_swap) { in SwappingPass() 1200 swap_info.time_to_swap = bytes_to_swap / 16; in SwappingPass() 1218 const SwapInfo& swap_info = swap.second; in SwappingPass() local [all …]
|