delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/11/19:23:10

Message-ID: <001301c10ac1$b193bda0$767a5a8f@neo>
From: "Rogerio Mazakina" <dway AT designer DOT mailbr DOT com DOT br>
To: <djgpp AT delorie DOT com>
References: <200107061715 DOT NAA25775 AT delorie DOT com> <20010711090028 DOT A6188 AT kendall DOT sfbr DOT org> <ihvoktctpagnchmrapgtkd4jrgq3aki2uo AT 4ax DOT com>
Subject: getting the time elapsed
Date: Thu, 12 Jul 2001 07:59:15 -0300
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Reply-To: djgpp AT delorie DOT com

i want to know how to get the time elapsed, accurate (int float point)

like:

float start  = get_time();
.... do something ....
float end = get_time();
cout << end-start;

thanks.

Rogerio
http://dway.cjb.net
GPR - Game Programming Resources.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019