Home
last modified time | relevance | path

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

/system/extras/pagecache/
Dpagecache.py54 def pages_to_mb(self, num_pages): member in PagecacheStats
61 pages_string = str(num_pages) + ' (' + str(self.pages_to_mb(num_pages)) + ' MB)'
80 …print row_format.format(filename, self.pages_to_mb(added), self.pages_to_mb(removed), self.bytes_t…
82 …print row_format.format('TOTAL', self.pages_to_mb(self._total_pages_added), self.pages_to_mb(self.…
100 pad.addstr(y, 70, self.pages_to_mb(added).rjust(10))
101 pad.addstr(y, 80, self.pages_to_mb(removed).rjust(14))
109 pad.addstr(y, 70, str(self.pages_to_mb(self._total_pages_added)).rjust(10), curses.A_REVERSE)
110 pad.addstr(y, 80, str(self.pages_to_mb(self._total_pages_removed)).rjust(14), curses.A_REVERSE)