how to get timestamp

"rajk116" <[email protected]>
Newsgroups gmane.comp.programming.cppug
Message-ID <[email protected]>
hi, 
i need to calculate the time duration in msec of certain process in 
c++.format is like

# find starttime (get timestamp)
# do someprocess ......
# find finishtime (get timestamp)
#calculate finishtime-starttime

please reply if anyone know how to get timestamp in milliseconds..

thanks in advance. 

raj




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/EbFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.