[AccessD] Sysinternals and Timer Resolution.
Stuart McLachlan
stuart at lexacorp.com.pg
Mon Oct 3 17:41:22 CDT 2022
Trying to find out why I was runing at 1ms, I did a bit of seraching and came across this
handy hint, (especially useful for laptops):
Open a Cmd windows as Administrator and run "powercfg -energy duration 5"
It gives a comprehensive report of what settings and applications are "energy hogs" and let
me identify the one background application that was increasing the timer frequency
(resulting in more power used).
On 4 Oct 2022 at 8:20, Stuart McLachlan wrote:
> On 27 Sep 2022 at 12:20, Gustav Brock via AccessD wrote:
>
> > Hi Arthur
> >
> > Use Timer, much simpler.
> > It returns seconds ......with about 1/18 s resolution
> > and two decimals:
> >
>
> I thought of this thread when I looked again at the SysInternals
> utilities and noticed ClockRes :)
>
> So I downloaded it. I couldn't get it to tell me anything intially,
> then I realised it is a command line utility.
>
> Here's my results. Note the 0.500 ms :)
>
> C:\Users\smcl\Desktop>clockres64
>
> Clockres v2.1 - Clock resolution display utility
> Copyright (C) 2016 Mark Russinovich
> Sysinternals
>
> Maximum timer interval: 15.625 ms
> Minimum timer interval: 0.500 ms
> Current timer interval: 0.999 ms
>
>
>
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> https://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>
More information about the AccessD
mailing list