Posts

Post not yet marked as solved
1 Replies
You need to embed and sign the frameworks in Xcode . TraceUtility -> Target -> General -> Frameworks & Libraries -> Embed.
Post not yet marked as solved
1 Replies
did u get any solution for this?
Post not yet marked as solved
9 Replies
Using malloc_zone_statistics , heap memory of iOS app in obj-c can be found as shown below. #import <malloc/malloc.h> malloc_statistics_t stats; malloc_zone_statistics(NULL, &stats); printf("%zu",stats.size_allocated);How to use the same in swift? when I do the same in swift as : var stats: malloc_statistics_t; malloc_zone_statistics(nil, stats); print(stats.size_allocated);I get the error as - Cannot convert value of type 'malloc_statistics_t' to expected argument type 'UnsafeMutablePointer?'. Is this a right way?
Post not yet marked as solved
9 Replies
In Instrument I want All Heap and Anonymous VM values ( from Allocations ). How to get it programatically?One more doubt Iam having is that like in android by using package id and adb tool, cpu and memory usage can be found , same way is it possible in iOS? using bundle id or app id.
Post not yet marked as solved
9 Replies
Well I'm using the resulting value for performance testing purpose, I need to get the heap memory that matches with the Xcode instrument value.
Post not yet marked as solved
9 Replies
Its matching what Xcode Debug navigator is showing, but I need the result as in xcode instrument, which is very much less than what we get in Xcode debug navigator.