Need help in understanding kcachedgrind output

Posted by hap497 on Stack Overflow See other posts from Stack Overflow or by hap497
Published on 2010-05-09T20:04:11Z Indexed on 2010/05/09 20:08 UTC
Read the original article Hit count: 225

Filed under:
|

Hi,

I am using valgrind callgrind to profile a program on gtk. And then I use kcachedgrind to read the result. I have captured an update a screenshot of kcachedgrind here: http://i41.tinypic.com/168spk0.jpg. It said the function gtk_moz_embed_new() costed '15.61%'. But I dont understand how is that possible. the function gtk_moz_embed_new() literally has 1 line: and it is just calling a g_object_new().

GtkWidget *
gtk_moz_embed_new(void)
{
  return GTK_WIDGET(g_object_new(GTK_TYPE_MOZ_EMBED, NULL));
}

Can you please help understanding the result or how to use kcachedgrind.

Thank you.

© Stack Overflow or respective owner

Related posts about valgrind

Related posts about kcachegrind