mirror of
https://github.com/gnustep/libs-performance.git
synced 2025-02-24 12:21:23 +00:00
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:
parent
facfd77cd3
commit
a58afcaf47
2 changed files with 4 additions and 2 deletions
2
GSFIFO.h
2
GSFIFO.h
|
@ -90,7 +90,7 @@
|
||||||
uint64_t *getWaitCounts; // Waits for gets by time
|
uint64_t *getWaitCounts; // Waits for gets by time
|
||||||
uint64_t *putWaitCounts; // Waits for puts by time
|
uint64_t *putWaitCounts; // Waits for puts by time
|
||||||
NSThread *getThread; // Single consumer thread
|
NSThread *getThread; // Single consumer thread
|
||||||
NSThread *putThread; // Single consumer thread
|
NSThread *putThread; // Single producer thread
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Return statistics for all current GSFIFO instances.<br />
|
/** Return statistics for all current GSFIFO instances.<br />
|
||||||
|
|
4
GSFIFO.m
4
GSFIFO.m
|
@ -312,8 +312,10 @@ stats(NSTimeInterval ti, uint32_t max, NSTimeInterval *bounds, uint64_t *bands)
|
||||||
- (NSString*) description
|
- (NSString*) description
|
||||||
{
|
{
|
||||||
return [NSString stringWithFormat:
|
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,
|
[super description], name,
|
||||||
|
(unsigned long long)_capacity,
|
||||||
|
((nil == condition) ? 'Y' : 'N'),
|
||||||
(unsigned long long)_tail,
|
(unsigned long long)_tail,
|
||||||
(unsigned long long)_head,
|
(unsigned long long)_head,
|
||||||
(unsigned long long)emptyCount,
|
(unsigned long long)emptyCount,
|
||||||
|
|
Loading…
Reference in a new issue