I just have a chance to profile the test application on iPad.
In fact the application is the one coming from tutorial section in cocos2d.
I hit to build for “Profile” in the real iPad 2 device.
The strange thing (not sure, i’m new for profiling here) is that there always the reading activity (IO) for .wav (bg sound). I thought at first it should read the whole wav file and keep it in memory. Then in time of play, it play ahead through the stored buffer in which I won’t believe it would keep it as another file or in need of IO operation.
The data read from profiling always have IO (pread functions) activity with duration around 200 - 300 microsecond for the whole time play testing the application on the device.
Is that normal ? Please advice.
Screen_Shot_2011-12-21_at_1.09.12_AM.png (564.3 KB)