C# Class HeapProfiler.DiffViewer

Datei anzeigen Open project: kg/HeapProfiler Class Usage Examples

Public Properties

Property Type Description
Deltas List
FilteredDeltas List
FunctionNames NameTable
ListItems List
LoadingPanel System.Windows.Forms.GroupBox
Modules NameTable
StackGraph StackGraph
StackGraphKeyType GraphKeyType

Protected Properties

Property Type Description
CurrentPair Pair
Filename string
FunctionFilter Regex
Instance HeapProfiler.HeapRecording
ListFormat StringFormat
PendingLoad IFuture
PendingLoadPair Pair
PendingRefresh IFuture
Updating bool

Public Methods

Method Description
DiffViewer ( TaskScheduler scheduler ) : System
DiffViewer ( TaskScheduler scheduler, HeapProfiler.HeapRecording instance ) : System
DoneReloadingTracebacks ( ) : void
GetBytesTotal ( HeapSnapshotInfo item ) : long
Instance_TracebacksFiltered ( object sender, EventArgs e ) : void
LoadDiff ( string filename ) : IEnumerator
LoadRange ( Pair range ) : IEnumerator
RefreshDeltas ( ) : IEnumerator
RefreshGraph ( ) : IEnumerator
RefreshModules ( ) : void

Protected Methods

Method Description
DiffLoaded ( HeapProfiler.HeapDiff diff, string filename ) : void
Dispose ( bool disposing ) : void

Clean up any resources being used.

GenerateNewGraph ( List newListItems, GraphKeyType keyType ) : IEnumerator
SetBusy ( bool busy ) : void
SetGraphHistogramVisible ( bool visible ) : void
SetGraphKeyType ( GraphKeyType keyType ) : void
SetGraphTreemapVisible ( bool visible ) : void
ShowGraphHistogram ( GraphKeyType keyType ) : void
ShowGraphTreemap ( GraphKeyType keyType ) : void

Private Methods

Method Description
CloseMenu_Click ( object sender, EventArgs e ) : void
DiffViewer_FormClosed ( object sender, FormClosedEventArgs e ) : void
DiffViewer_Shown ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ModuleList_FilterChanged ( object sender, EventArgs e ) : void
ReloadTracebacks ( ) : IEnumerator
SaveDiffMenu_Click ( object sender, EventArgs e ) : void
Timeline_RangeChanged ( object sender, EventArgs e ) : void
TracebackFilter_FilterChanged ( object sender, EventArgs e ) : void
TracebackFilter_FilterChanging ( object sender, FilterChangingEventArgs e ) : void
ViewHistogramByFunctionMenu_Click ( object sender, EventArgs e ) : void
ViewHistogramByModuleMenu_Click ( object sender, EventArgs e ) : void
ViewHistogramByNamespaceMenu_Click ( object sender, EventArgs e ) : void
ViewHistogramBySourceFileMenu_Click ( object sender, EventArgs e ) : void
ViewHistogramBySourceFolderMenu_Click ( object sender, EventArgs e ) : void
ViewHistogramByTracebackMenu_Click ( object sender, EventArgs e ) : void
ViewListMenu_Click ( object sender, EventArgs e ) : void
ViewTreemapByFunctionMenu_Click ( object sender, EventArgs e ) : void
ViewTreemapByModuleMenu_Click ( object sender, EventArgs e ) : void
ViewTreemapByNamespaceMenu_Click ( object sender, EventArgs e ) : void
ViewTreemapBySourceFileMenu_Click ( object sender, EventArgs e ) : void
ViewTreemapBySourceFolderMenu_Click ( object sender, EventArgs e ) : void

Method Details

DiffLoaded() protected method

protected DiffLoaded ( HeapProfiler.HeapDiff diff, string filename ) : void
diff HeapProfiler.HeapDiff
filename string
return void

DiffViewer() public method

public DiffViewer ( TaskScheduler scheduler ) : System
scheduler TaskScheduler
return System

DiffViewer() public method

public DiffViewer ( TaskScheduler scheduler, HeapProfiler.HeapRecording instance ) : System
scheduler TaskScheduler
instance HeapProfiler.HeapRecording
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

DoneReloadingTracebacks() public method

public DoneReloadingTracebacks ( ) : void
return void

GenerateNewGraph() protected method

protected GenerateNewGraph ( List newListItems, GraphKeyType keyType ) : IEnumerator
newListItems List
keyType GraphKeyType
return IEnumerator

GetBytesTotal() public method

public GetBytesTotal ( HeapSnapshotInfo item ) : long
item HeapSnapshotInfo
return long

Instance_TracebacksFiltered() public method

public Instance_TracebacksFiltered ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

LoadDiff() public method

public LoadDiff ( string filename ) : IEnumerator
filename string
return IEnumerator

LoadRange() public method

public LoadRange ( Pair range ) : IEnumerator
range Pair
return IEnumerator

RefreshDeltas() public method

public RefreshDeltas ( ) : IEnumerator
return IEnumerator

RefreshGraph() public method

public RefreshGraph ( ) : IEnumerator
return IEnumerator

RefreshModules() public method

public RefreshModules ( ) : void
return void

SetBusy() protected method

protected SetBusy ( bool busy ) : void
busy bool
return void

SetGraphHistogramVisible() protected method

protected SetGraphHistogramVisible ( bool visible ) : void
visible bool
return void

SetGraphKeyType() protected method

protected SetGraphKeyType ( GraphKeyType keyType ) : void
keyType GraphKeyType
return void

SetGraphTreemapVisible() protected method

protected SetGraphTreemapVisible ( bool visible ) : void
visible bool
return void

ShowGraphHistogram() protected method

protected ShowGraphHistogram ( GraphKeyType keyType ) : void
keyType GraphKeyType
return void

ShowGraphTreemap() protected method

protected ShowGraphTreemap ( GraphKeyType keyType ) : void
keyType GraphKeyType
return void

Property Details

CurrentPair protected_oe property

protected Pair CurrentPair
return Pair

Deltas public_oe property

public List Deltas
return List

Filename protected_oe property

protected string Filename
return string

FilteredDeltas public_oe property

public List FilteredDeltas
return List

FunctionFilter protected_oe property

protected Regex FunctionFilter
return Regex

FunctionNames public_oe property

public NameTable FunctionNames
return NameTable

Instance protected_oe property

protected HeapRecording,HeapProfiler Instance
return HeapProfiler.HeapRecording

ListFormat protected_oe property

protected StringFormat ListFormat
return StringFormat

ListItems public_oe property

public List ListItems
return List

LoadingPanel public_oe property

public System.Windows.Forms.GroupBox LoadingPanel
return System.Windows.Forms.GroupBox

Modules public_oe property

public NameTable Modules
return NameTable

PendingLoad protected_oe property

protected IFuture PendingLoad
return IFuture

PendingLoadPair protected_oe property

protected Pair PendingLoadPair
return Pair

PendingRefresh protected_oe property

protected IFuture PendingRefresh
return IFuture

StackGraph public_oe property

public StackGraph StackGraph
return StackGraph

StackGraphKeyType public_oe property

public GraphKeyType StackGraphKeyType
return GraphKeyType

Updating protected_oe property

protected bool Updating
return bool