Home
last modified time | relevance | path

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

/system/core/logd/
DLogStatistics.h488 void findWorst(int& worst, size_t& worst_sizes, size_t& second_worst_sizes, in findWorst() argument
491 worst_sizes = sorted[0]->getSizes(); in findWorst()
492 if ((worst_sizes > threshold) in findWorst()
495 && (worst_sizes > (10 * sorted[0]->getDropped()))) { in findWorst()
505 void findWorst(int& worst, size_t worst_sizes, size_t& second_worst_sizes) { in findWorst() argument
509 worst_sizes - sorted[0]->getSizes() + sorted[1]->getSizes(); in findWorst()
DLogBuffer.cpp726 size_t worst_sizes = 0; in prune() local
736 .findWorst(worst, worst_sizes, second_worst_sizes, in prune()
741 .findWorst(worst, worst_sizes, second_worst_sizes, in prune()
746 .findWorst(worstPid, worst_sizes, second_worst_sizes); in prune()
844 if (worst_sizes < second_worst_sizes) { in prune()
847 worst_sizes -= element->getMsgLen(); in prune()
920 if (worst_sizes < second_worst_sizes) { in prune()
923 worst_sizes -= len; in prune()