Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!uwm.edu!psuvax1!rutgers!cbmvax!jesup From: jesup@cbmvax.commodore.com (Randell Jesup) Newsgroups: comp.sys.amiga.programmer Subject: Re: input.device usage in Xoper Message-ID: <20349@cbmvax.commodore.com> Date: 4 Apr 91 02:13:48 GMT References: <9104031312.AAtau07511@tau.sm.luth.se> Reply-To: jesup@cbmvax.commodore.com (Randell Jesup) Organization: Commodore, West Chester, PA Lines: 36 In article <9104031312.AAtau07511@tau.sm.luth.se> d88-psm@sm.luth.se writes: >My Xoper 2.2 says right now: > > CPU:68020/68881 CPU activity: 100.0% (25 MHz A3000; Xoper is old!) > > 07ce9258 Process Running 0 0.9% --- Xoper > 07c08b22 Task Waiting 20 45.7% --- input.device > 07d044f8 Process Ready 0 45.3% --- MandFXPV3 > > As you can see when I leave the computer for a few seconds running >MandFXP input.device take 47 percent. And I am not moving the mouse or >anything! Is input.device taking half my 68030 power???? Note that intuition runs on input.device. I suspect Xoper is being fooled by the fact that you were doing something with intuition in order to tell Xoper to save those results away. The proper way to measure that would be to have xoper measure usage starting after the selection (and perhaps have a delay before starting to allow the system to go back to normal.) It also may well be an artifact of how XOper measures this, though it's impossible to test. A better test: do a dhrystone without touching the mouse. Now do a dhrystone while waving the mouse around as much as possible. The difference may be measurable, but will by no means be ~50%. You could also disable around the dhrystone, to see the total difference all other tasks and all interrupts make. Note that vblank is an appreciable amount of this amount, and any commodities can have a large affect on the amount time used by input.device! -- Randell Jesup, Keeper of AmigaDos, Commodore Engineering. {uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.commodore.com BIX: rjesup Disclaimer: Nothing I say is anything other than my personal opinion. Thus spake the Master Ninjei: "To program a million-line operating system is easy, to change a man's temperament is more difficult." (From "The Zen of Programming") ;-)