timestamp driver activities

Hi,
i m trying to timestamp activities in my driver code. are there any apis
that provide time wrt some established starting point.
also this would need to work at DISPATCH_LEVEL too.

kutty

KeQueryTickCount returns the number of milliseconds since boot. Will wrap
around in 40 days or such.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Kutty Banerjee”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Thursday, August 12, 2004 7:24 PM
Subject: [ntdev] timestamp driver activities

> Hi,
> i m trying to timestamp activities in my driver code. are there any apis
> that provide time wrt some established starting point.
> also this would need to work at DISPATCH_LEVEL too.
>
> kutty
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

Probably , use the RDTSC instruction …

----- Original Message -----
From: “Kutty Banerjee”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Thursday, August 12, 2004 5:24 PM
Subject: [ntdev] timestamp driver activities

> Hi,
> i m trying to timestamp activities in my driver code. are there any apis
> that provide time wrt some established starting point.
> also this would need to work at DISPATCH_LEVEL too.
>
> kutty
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@compaqnet.be
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

NEVER RECOMEND AN ASSEMBLER INSTRUCTION!

There are a ton of ways to do this without assembler, you cannot use inline
assembler on 64bit systems, so doing this is STUPID.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply

“Christiaan Ghijselinck” wrote in
message news:xxxxx@ntdev…
>
> Probably , use the RDTSC instruction …
>
>
> ----- Original Message -----
> From: “Kutty Banerjee”
> Newsgroups: ntdev
> To: “Windows System Software Devs Interest List”
> Sent: Thursday, August 12, 2004 5:24 PM
> Subject: [ntdev] timestamp driver activities
>
>
> > Hi,
> > i m trying to timestamp activities in my driver code. are there any
apis
> > that provide time wrt some established starting point.
> > also this would need to work at DISPATCH_LEVEL too.
> >
> > kutty
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as:
xxxxx@compaqnet.be
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
>