home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / amiga / misc / 20244 < prev    next >
Encoding:
Text File  |  1993-01-21  |  3.5 KB  |  65 lines

  1. Newsgroups: comp.sys.amiga.misc
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!cbnewsc!gregg
  3. From: gregg@cbnewsc.cb.att.com (gregg.g.wonderly)
  4. Subject: Re: Why do Commodities slow down the Amy? (was: How does 2.04 perfor
  5. Organization: AT&T
  6. Date: Thu, 21 Jan 1993 04:54:12 GMT
  7. Message-ID: <1993Jan21.045412.19425@cbnewsc.cb.att.com>
  8. References: <1993Jan20.220023.355@hubcap.clemson.edu>
  9. Lines: 54
  10.  
  11. From article <1993Jan20.220023.355@hubcap.clemson.edu>, by charlet@hubcap.clemson.edu (Charles E "Rick" Taylor IV):
  12. >>Are you running any 'mouse' commodities; autopoint or something like that??
  13. >>I'm not, and I've never had any slow down. I have an A3000/16.
  14. > This happens on 68000 machines.  On anything better, the slowdown's not
  15. > noticable.
  16.  
  17. I wrote this tool I call watchlib.  It setfunctions a whole library
  18. with an assembler stub (using the pragma file) which sends a message
  19. to the process.  This allows the return value and the register arguments
  20. to the function call, plus the name of the function to be printed.
  21. What I saw was that autopoint is (as you might imagine, but never guess) doing
  22.  
  23. LockIBase()
  24. WhichLayer()
  25. UnlockIBase()
  26.  
  27. continuously.  You will notice that it is above priority 0, so there
  28. is little wonder why things slow down...
  29.  
  30. e.g.
  31. AutoPoint: D0=0x0     =LockIBase(D0=0x0) intuition.library
  32. AutoPoint: D0=0x37b7c0=WhichLayer(A0=0x28cee8,D0=0x185,D1=0x4e) layers.library
  33. AutoPoint: D0=0x0     =UnlockIBase(A0=0x0) intuition.library
  34.  
  35. While that is going on, you of course also have input.device doing things
  36. like...
  37.  
  38. input.device: D0=0x2     =InitBitMap(A0=0x242698,D0=0x2,D1=0x290,D2=0x1) graphics.library
  39. input.device: D0=0x8     =OwnBlitter() graphics.library
  40. input.device: D0=0x10029 =DisownBlitter() graphics.library
  41. input.device: D0=0x2     =BltBitMap(A0=0x28cec0,D0=0x8,D1=0xa,A1=0x242698,D2=0x8,D3=0x0,D4=0x27d,D5=0x1,D6=0xca,D7=0xffffffff,A2=0x0) graphics.library
  42. input.device: D0=0x8     =OwnBlitter() graphics.library
  43. input.device: D0=0x10029 =DisownBlitter() graphics.library
  44. input.device: D0=0x2     =BltBitMap(A0=0x2072c8,D0=0x8,D1=0xa,A1=0x28cec0,D2=0x8,D3=0xa,D4=0x27d,D5=0x1,D6=0x0,D7=0xff,A2=0x0) graphics.library
  45. input.device: D0=0x1     =OrRectRegion(A0=0x2482d0,A1=0x20736c) graphics.library
  46. input.device: D0=0x1     =UpfrontLayer(A0=0x0,A1=0x28d478) layers.library
  47. input.device: D0=0x1     =UnlockLayerInfo(A0=0x28cee8) layers.library
  48. input.device: D0=0x2     =SetDrMd(A1=0x208a20,D0=0x0) graphics.library
  49. input.device: D0=0x2     =SetAPen(A1=0x208a20,D0=0x1) graphics.library
  50. input.device: D0=0x4     =SetDrMd(A1=0x208a20,D0=0x1) graphics.library
  51. input.device: D0=0x2     =BltPattern(A1=0x208a20,A0=0x0,D0=0x0,D1=0x0,D2=0x295,D3=0xa,D4=0x0) graphics.library
  52. input.device: D0=0x2     =RectFill(A1=0x208a20,D0=0x0,D1=0x0,D2=0x295,D3=0xa) graphics.library
  53. input.device: D0=0x0     =SetAPen(A1=0x20742c,D0=0x0) graphics.library
  54. input.device: D0=0x2     =SetBPen(A1=0x20742c,D0=0x1) graphics.library
  55. input.device: D0=0x2     =SetDrMd(A1=0x20742c,D0=0x1) graphics.library
  56. input.device: D0=0x1     =ExtendFont(A0=0x205e08,A1=0x0) graphics.library
  57. input.device: D0=0x7fff  =WeighTAMatch(A0=0x28eb98,A1=0x205e18,A2=0x0) graphics.library
  58. input.device: D0=0x205e08=OpenFont(A0=0x28eb98) graphics.library
  59. input.device: D0=0x1     =ExtendFont(A0=0x205e08,A1=0x0) graphics.library
  60. input.device: D0=0x1     =SetFont(A1=0x20742c,A0=0x205e08) graphics.library
  61. input.device: D0=0xffffffff=AskSoftStyle(A1=0x20742c) graphics.library
  62. input.device: D0=0x0     =SetSoftStyle(A1=0x20742c,D0=0x0,D1=0xff) graphics.library
  63.  
  64.