Access Time by a function ?

Hi,

I am interested in finding out the access time(execution) taken by a function
in driver. I am working in win 2k environment. Please guide me in this regard.

Is there any function which can be used to get the current time ( with the possible
lowest resolution) similar to gettickcount() in VC++ ? GettickCount works on ms
(milisecond) resolution, i am interested in still lower resolution. This function is not
avl in driver.

Thanks,
Tushar

Well KeQueryTickCount is the equivalent of gettickcount or you could use
KeQueryPerformanceCounter or KeQueryInterruptTime.

Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting

----- Original Message -----
From: Tushar Samnerkar
To: Windows System Software Developers Interest List
Sent: Monday, September 01, 2003 8:04 AM
Subject: [ntdev] Access Time by a function ?

Hi,

I am interested in finding out the access time(execution) taken by a
function
in driver. I am working in win 2k environment. Please guide me in this
regard.

Is there any function which can be used to get the current time ( with the
possible
lowest resolution) similar to gettickcount() in VC++ ? GettickCount works on
ms
(milisecond) resolution, i am interested in still lower resolution. This
function is not
avl in driver.

Thanks,
Tushar

Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@acm.org
To unsubscribe send a blank email to xxxxx@lists.osr.com

Hi Don,

Thanks a lot for so quick response.
I will back to you if there is any related issue.
Thanks once again,

Tushar

----- Original Message -----
From: “Don Burn”
To: “Windows System Software Developers Interest List”
Sent: Monday, September 01, 2003 5:52 PM
Subject: [ntdev] Re: Access Time by a function ?

> Well KeQueryTickCount is the equivalent of gettickcount or you could use
> KeQueryPerformanceCounter or KeQueryInterruptTime.
>
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
>
> ----- Original Message -----
> From: Tushar Samnerkar
> To: Windows System Software Developers Interest List
> Sent: Monday, September 01, 2003 8:04 AM
> Subject: [ntdev] Access Time by a function ?
>
>
> Hi,
>
> I am interested in finding out the access time(execution) taken by a
> function
> in driver. I am working in win 2k environment. Please guide me in this
> regard.
>
> Is there any function which can be used to get the current time ( with the
> possible
> lowest resolution) similar to gettickcount() in VC++ ? GettickCount works
on
> ms
> (milisecond) resolution, i am interested in still lower resolution. This
> function is not
> avl in driver.
>
> Thanks,
> Tushar
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@acm.org
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@nital.stpp.soft.net
> To unsubscribe send a blank email to xxxxx@lists.osr.com

Hi.

This worked for win2k. Could you suggest me similar
function to KeQueryTickCount/ KeQueryInterruptTime on win98.

Thanks,
Tushar

----- Original Message -----
From: Tushar Samnerkar
To: Windows System Software Developers Interest List
Cc:
Sent: Monday, September 01, 2003 6:02 PM
Subject: [ntdev] Re: Access Time by a function ?

> Hi Don,
>
> Thanks a lot for so quick response.
> I will back to you if there is any related issue.
> Thanks once again,
>
> Tushar
>
> ----- Original Message -----
> From: “Don Burn”
> To: “Windows System Software Developers Interest List”

> Sent: Monday, September 01, 2003 5:52 PM
> Subject: [ntdev] Re: Access Time by a function ?
>
>
> > Well KeQueryTickCount is the equivalent of gettickcount or you could use
> > KeQueryPerformanceCounter or KeQueryInterruptTime.
> >
> > Don Burn (MVP, Windows DDK)
> > Windows 2k/XP/2k3 Filesystem and Driver Consulting
> >
> > ----- Original Message -----
> > From: Tushar Samnerkar
> > To: Windows System Software Developers Interest List
> > Sent: Monday, September 01, 2003 8:04 AM
> > Subject: [ntdev] Access Time by a function ?
> >
> >
> > Hi,
> >
> > I am interested in finding out the access time(execution) taken by a
> > function
> > in driver. I am working in win 2k environment. Please guide me in this
> > regard.
> >
> > Is there any function which can be used to get the current time ( with
the
> > possible
> > lowest resolution) similar to gettickcount() in VC++ ? GettickCount
works
> on
> > ms
> > (milisecond) resolution, i am interested in still lower resolution. This
> > function is not
> > avl in driver.
> >
> > Thanks,
> > Tushar
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@acm.org
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@nital.stpp.soft.net
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@nital.stpp.soft.net
> To unsubscribe send a blank email to xxxxx@lists.osr.com