Searched defs:dropped (Results 1 - 5 of 5) sorted by relevance

/system/core/liblog/
H A Dlogd_writer.c135 static atomic_int_fast32_t dropped; local
203 snapshot = atomic_exchange_explicit(&dropped, 0, memory_order_relaxed);
219 atomic_fetch_add_explicit(&dropped, snapshot, memory_order_relaxed);
283 atomic_fetch_add_explicit(&dropped, 1, memory_order_relaxed);
/system/core/libstats/
H A Dstatsd_writer.c141 static atomic_int dropped; local
177 // If we dropped events before, try to tell statsd.
179 int32_t snapshot = atomic_exchange_explicit(&dropped, 0, memory_order_relaxed);
192 atomic_fetch_add_explicit(&dropped, snapshot, memory_order_relaxed);
256 atomic_fetch_add_explicit(&dropped, 1, memory_order_relaxed);
/system/core/logd/
H A DLogStatistics.cpp101 // elements, but we must recognize the manufactured dropped
358 size_t dropped = getDropped(); local
359 if (dropped) {
360 pruned = android::base::StringPrintf("%zu", dropped);
361 virtualEntrySize += (float)dropped * totalSize / totalElements;
453 size_t dropped = getDropped(); local
454 if (dropped) {
455 pruned = android::base::StringPrintf("%zu", dropped);
477 size_t dropped = getDropped(); local
478 if (dropped) {
511 size_t dropped = getDropped(); local
717 uint64_t dropped = mNewestDropped[id].msec(); local
[all...]
H A DLogBuffer.cpp242 LogBufferElement* dropped = droppedElements[log_id]; local
243 unsigned short count = dropped ? dropped->getDropped() : 0;
247 // dropped = nullptr
251 // dropped = nullptr -> State 0
257 // dropped = nullptr
261 // dropped = copy of first identical message -> State 1
264 // dropped = nullptr -> State 0
271 // dropped = copy of first identical message
276 // delete copy of first identical message (dropped)
587 coalesce(LogBufferElement* element, unsigned short dropped) argument
850 unsigned short dropped = element->getDropped(); local
[all...]
H A DLogStatistics.h252 size_t dropped; member in struct:EntryBaseDropped
254 EntryBaseDropped() : dropped(0) {
257 : EntryBase(element), dropped(element->getDropped()) {
261 return dropped;
265 dropped += element->getDropped();
269 dropped -= element->getDropped();
270 return EntryBase::subtract(element) && !dropped;
273 dropped += 1;
747 // Correct for coalescing two entries referencing dropped content

Completed in 274 milliseconds