diff options
author | Trond Norbye <Trond.Norbye@sun.com> | 2009-03-04 10:50:47 +0100 |
---|---|---|
committer | Trond Norbye <Trond.Norbye@sun.com> | 2009-03-04 10:50:47 +0100 |
commit | 1fdfb7e91d29afbf3161bdbf3c7bcb4c8800c511 (patch) | |
tree | df71de8ff74e3d69fb65721578e2ec0793f6eacd /items.c | |
parent | 69aa542709745e7360b0cd9a81d7a407567106c4 (diff) | |
download | memcached-1fdfb7e91d29afbf3161bdbf3c7bcb4c8800c511.tar.gz |
Use threadlocal stats to count the commands
Diffstat (limited to 'items.c')
-rw-r--r-- | items.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -326,7 +326,7 @@ char *do_item_cachedump(const unsigned int slabs_clsid, const unsigned int limit key_temp[it->nkey] = 0x00; /* terminate */ len = snprintf(temp, sizeof(temp), "ITEM %s [%d b; %lu s]\r\n", key_temp, it->nbytes - 2, - (unsigned long)it->exptime + stats.started); + (unsigned long)it->exptime + process_started); if (bufcurr + len + 6 > memlimit) /* 6 is END\r\n\0 */ break; strcpy(buffer + bufcurr, temp); |