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:
Interface-Tools-Monitors
Version:
rev: 1.117 date: 2023/11/23 12:48:29
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.

copyright

COPYRIGHT (c) 1992 by Claus Gittinger All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

startup
o  isVisualStartable
yes, I can be started via double click in the browser


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  allInstancesOfSelectedClassDo: aBlock withSubInstances: withSubInstancesBool
special kludge

o  browseClass

o  browseReferencesToClass

o  collectGarbageAndUpdate
allow contents to be garbage collected

o  displayGlobalRefChainsToInsts
special kludge

o  hideCountsOfAbstractInstances

o  inspectInstances

o  inspectInstances: withSubInstances

o  inspectInstancesWithSearch

o  inspectInstancesWithSearch: filterBlock

o  inspectLargestInstances

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

o  inspectSomeInstance

o  inspectSomeSubInstance

o  inspectSubInstances

o  nilInstances

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

o  openMaxInstCountFilterDialog
only show instances of which some maximum number of insts exists

o  openMinInstCountFilterDialog
only show instances of which some minimum number of insts exists

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

o  removeFilter

o  showCountsOfAbstractInstances

o  showSizeHistogram

o  showSizeHistogrammForClass: classOrNilForAll

o  update
Transcript showCR:(Time toRun:[

o  updateDisplayKeepingSelectedClass
allow contents to be garbage collected

o  updateKeepingSelectedClass
allow contents to be garbage collected

o  usageMenu

o  withInstancesOfSelectedClassDo: aBlock

o  withInstancesOfSelectedClassDo: aBlock withSubInstances: withSubInstancesBool
special kludge

menu-sorting
o  sortByAverageSize

o  sortByClass

o  sortByClassNameWithoutPrefix

o  sortByInstCount

o  sortByInstanceAllocationRate

o  sortByMaxSize

o  sortByMemoryAllocationRate

o  sortByMemoryUsage

private
o  selectClassNamed: className

o  selectedClass

o  selectedClassOrClassSymbol

o  selectedClassSymbol

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 22 Dec 2024 01:39:17 GMT