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.84 date: 2019/03/13 20:50:20
user: cg
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  browseReferencesToClass

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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 19 Apr 2024 04:19:16 GMT