mirror of
https://github.com/gnustep/libs-performance.git
synced 2025-02-21 02:41:01 +00:00
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:
parent
2ca74e1017
commit
b003dbbf7f
1 changed files with 5 additions and 1 deletions
6
GSFIFO.m
6
GSFIFO.m
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue