mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
memory usage interrogation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38799 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1ab490d19a
commit
841ddf78e0
17 changed files with 428 additions and 16 deletions
|
@ -571,6 +571,16 @@ uint32_t
|
|||
GSPrivateFinishHash(uint32_t s0, uint32_t s1, uint32_t totalLength)
|
||||
GS_ATTRIB_PRIVATE;
|
||||
|
||||
@class NSHashTable;
|
||||
/* If 'self' is not a member of 'exclude', adds to the hash
|
||||
* table and returns the memory footprint of 'self' assuming
|
||||
* it contains no pointers and has no extra memory allocated.
|
||||
* Otherwise returns 0.
|
||||
*/
|
||||
NSUInteger
|
||||
GSPrivateMemorySize(NSObject *self, NSHashTable *exclude)
|
||||
GS_ATTRIB_PRIVATE;
|
||||
|
||||
/* Return the current thread ID as an NSUInteger.
|
||||
* Ideally, we use the operating-system's notion of a thread ID so
|
||||
* that external process monitoring software will be using the same
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue