I’m trying out the iOS support in SDL (which is very cool!) and when I run this really simple program, I see regular repeated spikes in the CPU usage meter both inside Xcode and in Instruments.
Here’s the (very stripped down) source code I’m running:
https://dl.dropboxusercontent.com/u/9594258/sdl/min_sdl.cpp
And here’s a screen grab of what I’m seeing in Xcode:
https://dl.dropboxusercontent.com/u/9594258/sdl/cpu.png
I ran testgl2 from the Mac OS X tests, and didn’t see anything similar, so it’s either my code or it’s an iOS thing.