Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

'Bad counter' error with Perf plugin

Discuss anything to do with plugins

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
Jtek
Posts: 2
Joined: January 21st, 2012, 12:24 am

'Bad counter' error with Perf plugin

Post by Jtek »

Running LCD Smartie on Win 7 64, can't get the Perf plugin to display any performance data, it always gives the error 'bad counter'. I've tried other plugins and they work fine.

I believe the 'counter' refers to the performance metric e.g. in:

Code: Select all

CPU[$dll(perf,1,1x8#u#99,TinyCPUu)]$dll(perf,4,5,\Processor(0)\% Processor Time)%
The 'bad counter' is '\Processor(0)\% Processor Time'. I've tried different ones e.g.:

Code: Select all

DWN0[$dll(perf,1,1x8#d#1,CPUb)]
And still no luck. Also tried running it as administrator, in XP sp3 compatibility mode etc. Wondering if it can't access the performance data because this is Win 7 64? Any ideas?


I've also tried the other 'PerfMonitor' plugin and it works fine and displays the data but it doesn't do graphs. Here's the code that works for that:

Code: Select all

$dll(PerfMonitor,1,\Processor(_Total)\% Processor Time,0)

Post Reply