Changeset 7e4e9b8 for lib/data-struct/object_cache.c
- Timestamp:
- 08/05/14 19:04:19 (8 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- 0862c20
- Parents:
- f9a70ca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/data-struct/object_cache.c
ra49a9eb r7e4e9b8 372 372 memmove(lc->cache, &lc->cache[lc->total - lc->used], sizeof(void *) * lc->used); 373 373 374 if (lc->used == lc->total) 374 if (lc->used) 375 mem_hits.writebulk.miss += 1; 376 else 375 377 mem_hits.writebulk.ring_hit += 1; 376 else377 mem_hits.writebulk.miss += 1;378 378 mem_hits.write.ring_hit += lc->total - lc->used; 379 379 }
Note: See TracChangeset
for help on using the changeset viewer.