tweak description and fix comment

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/performance/trunk@34058 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2011-10-25 11:35:27 +00:00
parent facfd77cd3
commit a58afcaf47
2 changed files with 4 additions and 2 deletions

View file

@ -90,7 +90,7 @@
uint64_t *getWaitCounts; // Waits for gets by time
uint64_t *putWaitCounts; // Waits for puts by time
NSThread *getThread; // Single consumer thread
NSThread *putThread; // Single consumer thread
NSThread *putThread; // Single producer thread
}
/** Return statistics for all current GSFIFO instances.<br />

View file

@ -312,8 +312,10 @@ stats(NSTimeInterval ti, uint32_t max, NSTimeInterval *bounds, uint64_t *bands)
- (NSString*) description
{
return [NSString stringWithFormat:
@"%@ (%@) get:%llu put:%llu empty:%llu full:%llu",
@"%@ (%@) capacity:%llu lockless:%c get:%llu put:%llu empty:%llu full:%llu",
[super description], name,
(unsigned long long)_capacity,
((nil == condition) ? 'Y' : 'N'),
(unsigned long long)_tail,
(unsigned long long)_head,
(unsigned long long)emptyCount,