示例#1
0
static unsigned newPageAll()
{
	LOG(DEBUG);
	Control::NewPagingList_t pages;
	Control::MMGetPages(pages,false);

	LOG(INFO) << "paging " << pages.size() << " mobile(s)";

	// Move the pages from the single incoming queue to the individual PCH paging queues.
	for (Control::NewPagingList_t::iterator lp = pages.begin(); lp != pages.end(); lp++) {
		gPagingQ.addPage(new NewPagingEntry(*lp));
	}
	return pages.size();
}
示例#2
0
size_t NewPager::pagingEntryListSize()
{
	Control::NewPagingList_t pages;
	MMGetPages(pages,false);
	return pages.size();
}