I'm trying to use gprof for profiling an opengl app. Since main draw function gets called dozens times in a second, the times spent in particulas functions are small. gprof output contains times formatted as "%.2f" and almost all times are equal 0.00:
[4] 35.2 0.00 0.06 9414 AbstractLayer::render(IDrawContext&) [4]
0.00 0.02 1046/1046 SimpleTiledImageLayer::doRender(IDrawContext&) [9]
0.00 0.02 1046/1046 AtmosphereLayer::doRender(IDrawContext&) [10]
0.00 0.01 1046/1046 GeographicObjectLayer::doRender(IDrawContext&) [23]
0.00 0.01 1046/1046 POILayer::doRender(IDrawContext&) [27]
Is there any possibility to make it print time more precisely?