Re: gtk application startup time



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]