Re: gtk application startup time
- From: "Olexiy Avramchenko" <aolexiy gmail com>
- To: "Shyjumon N." <shyjumon n ttec soc-soft com>
- Cc: gtk-list gnome org
- Subject: Re: gtk application startup time
- Date: Wed, 8 Nov 2006 21:06:36 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]