Quote Originally Posted by bahbah30 View Post
I used gprof to profile my app, but i found nothing, becouse my app is multithreded. And I use minGW. So I can't profile my app.
There is more than one profiling tool in the world.

So what do the threads do?

In general your application is eating up a lot of cpu power because you're repainting it constantly (even when there is nothing to repaint).