From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,212d0edbd5d28969 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-30 06:24:30 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dennison@telepath.com (Ted Dennison) Newsgroups: comp.lang.ada Subject: Re: Cpu usage in ada? Date: 30 Oct 2002 06:24:29 -0800 Organization: http://groups.google.com/ Message-ID: <4519e058.0210300624.55d352a9@posting.google.com> References: NNTP-Posting-Host: 65.115.221.98 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1035987869 24600 127.0.0.1 (30 Oct 2002 14:24:29 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 30 Oct 2002 14:24:29 GMT Xref: archiver1.google.com comp.lang.ada:30229 Date: 2002-10-30T14:24:29+00:00 List-Id: "SteveD" wrote in message news:... > On W2K right click on the task bar, select "Task Manager", then select the > "Performance" tab. There is a graph showing CPU usage. I think the > original poster was asking how he/she could make their own. That particular app is built using "performance data" from the registry (under HKEY_PERFORMANCE_DATA). But that doesn't work on Win9x OS's (which is why they don't use the same task manager app). The SETI@Home Service has a preliminary binding to this. That's how it gets the list of running processes (so it can shut itself down when a user-designated process is runnning). Adding support for shutting down SETI during heavy CPU activity is on my todo list, but isn't in there yet. I wouldn't be shocked if some of the other windows bindings (Claw?) have support for this too. The only good way to get yourself familiar with this is to dig deeply into MSDN and read up on it. There may be books that cover it well too, but I haven't seen one.