Home
last modified time | relevance | path

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

/system/core/logd/
DLogStatistics.cpp272 size_t totalSize = stat.sizesTotal(id); in format() local
275 (float)sizes + (float)totalDropped * totalSize / totalElements; in format()
282 virtualEntrySize += (float)dropped * totalSize / totalElements; in format()
484 size_t totalSize = 0; in format() local
491 totalSize += szs; in format()
499 output += android::base::StringPrintf("%*s%zu/%zu", spaces, "", totalSize, in format()
506 totalSize = 0; in format()
516 totalSize += szs; in format()
525 output += android::base::StringPrintf("%*s%zu/%zu", spaces, "", totalSize, in format()
532 totalSize = 0; in format()
[all …]
/system/core/logd/tests/
Dlogd_test.cpp536 unsigned long totalSize = expected_absolute_minimum_log_size; in TEST() local
544 totalSize = atol(buffer); in TEST()
545 if (totalSize < expected_absolute_minimum_log_size) { in TEST()
550 totalSize = expected_absolute_minimum_log_size; in TEST()
556 totalSize = (totalSize * 11) / 10; in TEST()
559 ASSERT_GT(totalSize, nowSpamSize * 2); in TEST()
/system/core/liblog/
Dlocal_logger.c128 size_t totalSize[NUMBER_OF_LOG_BUFFERS]; /* init memset */ member
141 sizeof(log->number) + sizeof(log->size) + sizeof(log->totalSize)); in LogBufferInit()
192 log->totalSize[logId] += element->len; in LogBufferLog()