89 static const char statfmt[] =
"<stats id=\"ssi\"><err>%d</err>"
91 "<bytes>%lld</bytes><maxsz>%lld</maxsz><cnt>%d</cnt>"
92 "<bnd>%d</bnd><rdr>%d</rdr><dly>%d</dly>"
93 "<ab>%d</ab><proc>%d</proc><gets>%d</gets>"
94 "<relb>%d</relb><al>%d</al><fin>%d</fin>"
95 "<can>%d</can><finf>%d</finf><perr>%d</perr>"
97 "<bad>%d</bad><cbk>%d</cbk><data>%d</data><errs>%d</errs>"
98 "<file>%d</file><str>%d</str><rdy>%d</rdy><unr>%d</unr>"
101 "<add>%d</add><rem>%d</rem>"
104 static const long long LLMax = 0x7fffffffffffffffLL;
105 static const int INMax = 0x7fffffff;
112 len = snprintf(dummy,
sizeof(dummy), statfmt, INMax,
118 INMax, INMax, INMax, INMax,
119 INMax, INMax, INMax, INMax, LLMax,
121 return len + (fsP ? fsP->
getStats(0,0) : 0);
127 len = snprintf(buff, blen, statfmt,
SsiErrs,
140 if (fsP) len += fsP->
getStats(buff+len, blen-len);