| RE: [aus-dotnet] TotalMilliseconds |
- From: Sean Malloy
- Subject: RE: [aus-dotnet] TotalMilliseconds
- Date: Fri, 03 Dec 2004 16:49:13 +1100
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
DateTime start = DateTime.Now; .... DateTime stop = DateTime.Now; calculate the difference in ticks (1000 ticks == 1ms) alternatively you could use PInvoke and win32 calls to QueryPerformanceCounter and QueryPerformanceFrequency > -----Original Message----- > From: Coral Johnson [mailto:coral.johnson@xxxxxxxxxxxxxxxx] > Sent: Friday, 3 December 2004 16:50 > To: Aus-Dotnet > Subject: [aus-dotnet] TotalMilliseconds > > > It would seem that TotalMilliseconds has an approximate > resolution of 10 > milliseconds. However we need to record times accurate to 1 > millisecond. > What is the best way of accomplishing this? > > Regards > Coral Johnson > ___________________________________________ > > NetLogica Pty Ltd > 107 Scott St Westcourt QLD 4870, Australia > Tel 07 4041 1431 > Mobile 0412 706 675 > Email coral.johnson@xxxxxxxxxxxxxxxx > > _________________ > You are a part of the Australian "dotnet" mailing list. > To unsubscribe send "unsubscribe dotnet" or to re-subscribe > send "subscribe dotnet Your Name" in the body of the email > to: imailsrv@xxxxxxxxxxx > List managed by: http://www.stanski.com > _________________ You are a part of the Australian "dotnet" mailing list. To unsubscribe send "unsubscribe dotnet" or to re-subscribe send "subscribe dotnet Your Name" in the body of the email to: imailsrv@xxxxxxxxxxx List managed by: http://www.stanski.com
(Click here for more information on the aus-dotnet mailling list)
- Follow-Ups:
- RE: [aus-dotnet] TotalMilliseconds, Coral Johnson
- Prev by Date: RE: [aus-dotnet] TotalMilliseconds
- Next by Date: RE: [aus-dotnet] TotalMilliseconds
- Previous by thread: Re: [aus-dotnet] TotalMilliseconds
- Next by thread: RE: [aus-dotnet] TotalMilliseconds
- Index(es):
