315
311
/* prepare general statistics for the engine */
316
313
APPEND_STAT("bytes", "%llu", (unsigned long long)stats.curr_bytes);
317
314
APPEND_STAT("curr_items", "%u", stats.curr_items);
318
315
APPEND_STAT("total_items", "%u", stats.total_items);
319
316
APPEND_STAT("evictions", "%llu",
320
317
(unsigned long long)stats.evictions);
321
321
} else if (nz_strcmp(nkey, stat_type, "items") == 0) {
322
322
item_stats(add_stats, c);
323
323
} else if (nz_strcmp(nkey, stat_type, "slabs") == 0) {