match stats output to description

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/performance/trunk@34059 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-10-25 11:51:10 +00:00
parent 2ca74e1017
commit b003dbbf7f

View file

@ -657,7 +657,11 @@ stats(NSTimeInterval ti, uint32_t max, NSTimeInterval *bounds, uint64_t *bands)
{
NSMutableString *s = [NSMutableString stringWithCapacity: 100];
[s appendFormat: @"%@ (%@)\n", [super description], name];
[s appendFormat: @"%@ (%@) capacity:%llu lockless:%c\n",
[super description], name,
(unsigned long long)_capacity,
((nil == condition) ? 'Y' : 'N')];
if (nil != condition || [NSThread currentThread] == getThread)
{
[condition lock];