CompiledCode.st
changeset 5525 c4329e3e6c06
parent 5522 754c11dfd208
child 5533 3bc865a859cf
equal deleted inserted replaced
5524:1e069ba90b5f 5525:c4329e3e6c06
   475     "Modified: / 12.1.1998 / 18:22:14 / cg"
   475     "Modified: / 12.1.1998 / 18:22:14 / cg"
   476     "Created: / 30.1.1999 / 14:49:53 / cg"
   476     "Created: / 30.1.1999 / 14:49:53 / cg"
   477 !
   477 !
   478 
   478 
   479 isCounted
   479 isCounted
   480     "obsolete - replaced by isCountinMemoryUsage"
   480     "obsolete - replaced by isCountingMemoryUsage"
   481 
   481 
   482     ^ MessageTracer notNil
   482     ^ MessageTracer notNil
   483       and:[MessageTracer isCountingMemoryUsage:self]
   483       and:[MessageTracer isCountingMemoryUsage:self]
   484 
   484 
   485     "Modified: / 27.7.1998 / 11:05:36 / cg"
   485     "Modified: / 27.7.1998 / 11:05:36 / cg"
   503     ^ MessageTracer notNil
   503     ^ MessageTracer notNil
   504       and:[MessageTracer isCountingMemoryUsage:self]
   504       and:[MessageTracer isCountingMemoryUsage:self]
   505 
   505 
   506     "Modified: / 27.7.1998 / 11:06:23 / cg"
   506     "Modified: / 27.7.1998 / 11:06:23 / cg"
   507     "Created: / 30.1.1999 / 14:49:26 / cg"
   507     "Created: / 30.1.1999 / 14:49:26 / cg"
       
   508 !
       
   509 
       
   510 isTiming
       
   511     "return true, if timiing statistics are being gathered on this method."
       
   512 
       
   513     ^ MessageTracer notNil
       
   514       and:[MessageTracer isTiming:self]
   508 !
   515 !
   509 
   516 
   510 resetCountingStatistics
   517 resetCountingStatistics
   511     "reset count statistics of the receiver"
   518     "reset count statistics of the receiver"
   512 
   519 
  1567 ! !
  1574 ! !
  1568 
  1575 
  1569 !CompiledCode class methodsFor:'documentation'!
  1576 !CompiledCode class methodsFor:'documentation'!
  1570 
  1577 
  1571 version
  1578 version
  1572     ^ '$Header: /cvs/stx/stx/libbasic/CompiledCode.st,v 1.76 2000-08-15 14:34:03 cg Exp $'
  1579     ^ '$Header: /cvs/stx/stx/libbasic/CompiledCode.st,v 1.77 2000-08-16 12:04:35 cg Exp $'
  1573 ! !
  1580 ! !
  1574 CompiledCode initialize!
  1581 CompiledCode initialize!