DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: ProcessTamer - Error accessing registry  (Read 9,000 times)

gr3gw

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 8
ProcessTamer - Error accessing registry
« on: October 01, 2007, 10:48 AM »
Have been using ProcessTamer for about three weeks now and think it is great. Very cool idea.

I'm currently using ProcessMonitor (SysInternals) to track an error I'm getting on my machine and just happened to notice that periodically the following appears.

071001 - Registry Access Error.gif


.
.

Is this a problem or is it normal behaviour?

The full path is 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\Disable Performance Counters'.
« Last Edit: October 01, 2007, 10:52 AM by gr3gw »

gr3gw

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 8
Re: ProcessTamer - Error accessing registry
« Reply #1 on: October 04, 2007, 11:16 PM »
Here's a short log to illustrate the issue. It appears that ProcessTamer is querying the registry every second.

[attachthumb=#]

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: ProcessTamer - Error accessing registry
« Reply #2 on: October 04, 2007, 11:40 PM »
Sorry i thought i replied to this earlier.

I can't remember if there is a reason why it's checking so often, or if that's just something done by windows behind the scene -- but basically it's a check to make sure the performance counters aren't disabled -- since these counters are what enables PT to check cpu usage.

So bottom line -- it's proper that PT is checking this registry value, but i'm not sure why it's happening so often, and i'll go back into the code and see if its a bug or if there is a good reason for it and post about my findings.

Tekzel

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 228
    • Programming School - Stage 1 Medal
    • Programming School - Deluxe Bonus Medal
    • Military Service Badge - US Navy
Re: ProcessTamer - Error accessing registry
« Reply #3 on: October 10, 2007, 02:35 PM »
Talk about crossed wires, I posted in this thread thinking I was posting in the PT feature request thread.
« Last Edit: October 10, 2007, 07:24 PM by Tekzel »

Original address: https://www.donationcoder.com/forum/index.php?topic=10207.0