7 messages in com.googlegroups.google-desktop-developerRe: System Monitoring - Dual Core Sup...
FromSent OnAttachments
mlope15 Jul 2007 21:21 
phillfms27 Jul 2007 19:43 
Teo [API Guru]27 Jul 2007 22:45 
sinatosk29 Jul 2007 09:41 
Reals29 Jul 2007 17:31 
Tony11 Aug 2007 06:50 
Benjamin [API Guru]11 Aug 2007 07:54 
Subject:Re: System Monitoring - Dual Core Support
From:sinatosk (sina@gmail.com)
Date:07/29/2007 09:41:17 AM
List:com.googlegroups.google-desktop-developer

If you know how to do JavaScript etc... the info is in the documentation and too listen to multiple cores... simply do

( I have a dual core )

function view_onOpen() { system.perfmon.addCounter("\\Processor(_Total)\\% Processor Time", "updateTotal()");

system.perfmon.addCounter("\\Processor(0)\\% Processor Time", "updateCore1()"); system.perfmon.addCounter("\\Processor(1)\\% Processor Time", "updateCore2()"); }

function updateTotal() { allCores.innerText = system.perfmon.currentValue("\\Processor(_Total)\ \% Processor Time") }

function updateCore1() { c1.innerText = system.perfmon.currentValue("\\Processor(0)\\% Processor Time"); }

function updateCore2() { c2.innerText = system.perfmon.currentValue("\\Processor(1)\\% Processor Time"); }

and inside the design view... just simply create 3 labels with their names set too "allCores", "c1" and "c2"

this is just an example I worked out today. hope it helps :p ( this is for windows only )

On Jul 16, 5:21 am, mlope <m010@gmail.com> wrote:

Hey guys, wouldn't it be great if the system monitor gadget displayed usage for both cores when using dual core machines. I've been searching for a gadget that does but cant find one, thanks in advance.