Simplify stats aggregation code
Simplify stats aggregation code

We can use memset, unlike what the previous comment said, because this is a
one-time allocated thread_stats struct that doesn't actually use the mutex
for anything. This simplifies the setup code a decent amount and makes one
fewer place where things need to be added if a new stat is introduced.

Signed-off-by: Dan McGee <2591e5f46f28d303f9dc027d475a5c60d8dea17a@archlinux.org>

Danzeer/memcached,memcached/memcached,13693100472/memcached,allen8807/memcached-1,neutronsharc/memcached,samt42/memcached,leedc/memcached,emcconville/memcached,cloudrain21/memcached,dormando/memcached,dkrotx/memcached-dd,Danzeer/memcached,leverich/memcached-affinity,msg7086/repcached,ZhangZhenhua/memcached,ClearwaterCore/memcached,bpzhang/memcached,Dhruva6/memcached,surajdharmapuram/memcached,EdwardLee03/memcached,guikcd/memcached,sagark/memcached-accel,ZhangZhenhua/memcached,alexandermerritt/memcached,DigitalAce/memcached,tmharrisonwang/memcached,alexandermerritt/memcached,13693100472/memcached,jeremiahyan/memcached,Dhruva6/memcached,rhli/memcached,msg7086/repcached,elfchief/memcached,angusfenying/memcached-win64,leedc/memcached,kamyu104/memcached,dustin/memcached,dustin/memcached,DSrcl/memcached,dianerdianer/memcached,dianerdianer/memcached,zaycev/memcached,jbergstroem/memcached,ClearwaterCore/memcached,sagark/memcached-accel,myPublicGit/memcached,mitliucak/memcached,Metaswitch/memcached,bpzhang/memcached,zaycev/memcached,13693100472/memcached,williamcheungthu/memcached,Dhruva6/memcached,samt42/memcached,Distrotech/memcached,allen8807/memcached-1,ClearwaterCore/memcached,samanbarghi/memcached,dormando/memcached,xiaosl/memcached,Metaswitch/memcached,dustin/memcached,Distrotech/memcached,allen8807/memcached-1,neutronsharc/memcached,Metaswitch/memcached,williamcheungthu/memcached,gencer/memcached,alexandermerritt/memcached,DSrcl/memcached,niaomingjian/memcached,tomykaira/memcached,Danzeer/memcached,samanbarghi/memcached,samt42/memcached,dkrotx/memcached-dd,samt42/memcached,xiaosl/memcached,kamyu104/memcached,rmccullagh/memcached,neutronsharc/memcached,rhli/memcached,tellapart/memcached,emcconville/memcached,EdwardLee03/memcached,xiaosl/memcached,EdwardLee03/memcached,ZhangZhenhua/memcached,samanbarghi/memcached,rhli/memcached,angusfenying/memcached-win64,cloudrain21/memcached,Metaswitch/memcached,rmccullagh/memcached,Danzeer/memcached,niaomingjian/memcached,bpzhang/memcached,DSrcl/memcached,amyvmiwei/memcached,dianerdianer/memcached,niaomingjian/memcached,elfchief/memcached,DSrcl/memcached,dormando/memcached,zaycev/memcached,mdounin/memcached,mitliucak/memcached,elfchief/memcached,rhli/memcached,Distrotech/memcached,guikcd/memcached,msg7086/repcached,gencer/memcached,tellapart/memcached,13693100472/memcached,surajdharmapuram/memcached,sagark/memcached-accel,tomykaira/memcached,tomykaira/memcached,leverich/memcached-affinity,tmharrisonwang/memcached,neutronsharc/memcached,gencer/memcached,sagark/memcached-accel,emcconville/memcached,jbergstroem/memcached,leedc/memcached,fengshao0907/memcached,Metaswitch/memcached,williamcheungthu/memcached,guikcd/memcached,cloudrain21/memcached,sagark/memcached-accel,EdwardLee03/memcached,fengshao0907/memcached,ZhangZhenhua/memcached,Dhruva6/memcached,kamyu104/memcached,DigitalAce/memcached,dkrotx/memcached-dd,msg7086/repcached,gencer/memcached,mdounin/memcached,memcached/memcached,allen8807/memcached-1,memcached/memcached,fengshao0907/memcached,leverich/memcached-affinity,surajdharmapuram/memcached,guikcd/memcached,alexandermerritt/memcached,surajdharmapuram/memcached,kamyu104/memcached,fengshao0907/memcached,memcached/memcached,leedc/memcached,mdounin/memcached,niaomingjian/memcached,jeremiahyan/memcached,angusfenying/memcached-win64,tomykaira/memcached,myPublicGit/memcached,memcached/memcached,tmharrisonwang/memcached,myPublicGit/memcached,amyvmiwei/memcached,13693100472/memcached,emcconville/memcached,tellapart/memcached,samanbarghi/memcached,angusfenying/memcached-win64,ClearwaterCore/memcached,amyvmiwei/memcached,mitliucak/memcached,cloudrain21/memcached,tmharrisonwang/memcached,romanticode/memcached,dormando/memcached,jeremiahyan/memcached,bpzhang/memcached,msg7086/repcached,romanticode/memcached,romanticode/memcached,dkrotx/memcached-dd,rmccullagh/memcached,zaycev/memcached,xiaosl/memcached,rmccullagh/memcached,amyvmiwei/memcached,elfchief/memcached,mitliucak/memcached,williamcheungthu/memcached,rmccullagh/memcached,jbergstroem/memcached,DigitalAce/memcached,jeremiahyan/memcached,dormando/memcached,myPublicGit/memcached,dianerdianer/memcached,elfchief/memcached,romanticode/memcached,guikcd/memcached,gencer/memcached