Home
last modified time | relevance | path

Searched refs:g_has_swap (Results 1 – 1 of 1) sorted by relevance

/system/memory/libmeminfo/tools/
Dlibrank.cpp160 static bool g_has_swap = false; variable
213 if (!g_has_swap && map.usage.swap) { in scan_libs_per_process()
214 g_has_swap = true; in scan_libs_per_process()
267 + (g_has_swap ? "," + std::to_string(usage.swap/1024) : ""); in to_csv()
316 + (g_has_swap ? ",\"Swap\":" + std::to_string(usage.swap/1024) : "") in to_json()
416 if (g_has_swap) { in main()
423 if (g_has_swap) { in main()
444 if (g_has_swap) { in main()
465 if (g_has_swap) { in main()