Shyjumon N. wrote: ... > times=((tn.tv_sec - tp.tv_sec)/1000000)+ > (tn.tv_usec - tp.tv_usec); ... Hmm, you divide tv_sec field by 10e6. This is probably not what you want. At least with integer types. Olexiy _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list