Date: Sat, 14 Jul 2001 13:59:05 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Rogerio Mazakina" Message-Id: <5137-Sat14Jul2001135904+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <003201c10cae$27ebeb60$3e7a5a8f@neo> (dway AT designer DOT mailbr DOT com DOT br) Subject: Re: uclock limitations References: <3b4dba10 DOT 22636569 AT news DOT mbnet DOT fi> <2593-Fri13Jul2001202516+0300-eliz AT is DOT elta DOT co DOT il> <3B4F3D5B DOT C711C042 AT cyberoptics DOT com> <2427-Fri13Jul2001222318+0300-eliz AT is DOT elta DOT co DOT il> <003201c10cae$27ebeb60$3e7a5a8f AT neo> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Rogerio Mazakina" > Date: Sat, 14 Jul 2001 18:44:26 -0300 > > I cant use uclock... > It always return 0... > What do i need to do? > > uclock(); > .... > printf("%Ld",(long long)(uclock()/UCLOCKS_PER_SEC)); Try printf("%f\n", ((double)uclock()/UCLOCKS_PER_SEC));