Calculate CPU usage for iOS
I have recently needed to monitor how much CPU is used by a graphics-intensive app I am developing. Instruments is a wonderful tool to find out performance bottlenecks in your code, but in many cases simply monitoring cpu usage allows for an easier way to find out what is going on (possibly in an unexpected way) in your app.
Collecting this kind of information requires getting to the mach-subsystem but in the end it is not so difficult to set up. Much of the information I needed to accomplish this came from the extremely interesting, though not 100% up-to-date, Mac OS Internals: A Systems Approach, by Amit Sing.
You can find the code on my github.
App Store: it's a hard life
It may come as a bit of a shock to many, but the truth was already known to most independent developers for iOS: the App Store is a really hard environment to live in. This has been lately confirmed in some new figures released by mobile analytics firm Adeven, which speak of almost 400.000 (i.e., 80% of all apps) “zombie” apps: apps that are seldom, if ever, downloaded. Here what TUAW says about it:
iMandala available on the App Store
iMandala is the new app for iOS that you can find on the App Store.
dic:ph 1.2 soon available from the App Store
Only a few days remains before dic:ph 1.2 becomes available on the App Store.
dic:ph English Spanish Dictionary for the iPhone
Just to revive this blog, some advertisement blurb on my latest app.