eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'MemoryUsageView':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: MemoryUsageView


Inheritance:

   Object
   |
   +--GraphicsMedium
      |
      +--DisplaySurface
         |
         +--SimpleView
            |
            +--View
               |
               +--TopView
                  |
                  +--StandardSystemView
                     |
                     +--MemoryUsageView

Package:
stx:libtool
Category:
Monitors-ST/X
Version:
rev: 1.80 date: 2017/02/23 13:16:22
user: stefan
file: MemoryUsageView.st directory: libtool
module: stx stc-classLibrary: libtool

Description:


this view shows an overview over the memory usage of the system.
usage:
    MemoryUsageView new open

Since scanning all memory takes some time, this is not done
automatically, but upon request. See the middlebuttonmenu-'update'
function.

This is a very old application - definitely needs some pimping to look better...
... any maybe a nice menu, graphical display etc.


Class protocol:

startup
o  isVisualStartable


Instance protocol:

auto update
o  autoUpdate

o  autoUpdateInterval

o  autoUpdateLoop

o  openAutoUpdateIntervalDialog

o  startAutoUpdateProcess

o  stopAutoUpdateProcess

initialization
o  initialize
MemoryUsageView open

o  release

menu-actions
o  browseClass

o  collectGarbageAndUpdate

o  displayGlobalRefChainsToInsts
special kludge

o  inspectInstances

o  inspectInstancesWithSearch

o  inspectLargestInstances

o  inspectOwners
skip weakArrays ... (they don't count)

o  nilInstances

o  openInheritanceFilterDialog
only show instances which inherit from a set of classes

o  openNamespaceFilterDialog
only show instances for classes from a number of namespaces

o  removeFilter

o  showSizeHistogram

o  showSizeHistogrammForClass: class

o  update

o  usageMenu

o  withInstancesOfSelectedClassDo: aBlock
special kludge

menu-sorting
o  sortByAverageSize

o  sortByClass

o  sortByClassNameWithoutPrefix

o  sortByInstCount

o  sortByInstanceAllocationRate

o  sortByMaxSize

o  sortByMemoryAllocationRate

o  sortByMemoryUsage

private
o  selectedClass

o  selectedClassOrClassSymbol

o  updateDisplay
update the displayed list

o  updateInfo
scan all memory and collect the information

realization
o  realize
self sortByClass.


Private classes:

    StatisticEntry


ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 19 Sep 2018 07:36:32 GMT