C# Class HeapProfiler.DatabaseFile

Inheritance: IDisposable
Show file Open project: kg/HeapProfiler Class Usage Examples

Public Properties

Property Type Description
Allocations Tangle
FilteredTracebacks Tangle
HeapAllocations Tangle
Modules Tangle
Scheduler TaskScheduler
SnapshotHeaps Tangle
SnapshotModules Tangle
Snapshots Tangle
Storage FolderStreamSource
SymbolCache Tangle
SymbolsByFunction TracebackFrame>.Index
Tracebacks Tangle

Public Methods

Method Description
CheckTokenFileVersion ( string filename ) : bool
DatabaseFile ( TaskScheduler scheduler, string filename ) : System
Dispose ( ) : void
Move ( string targetFilename, ActivityIndicator activities ) : IEnumerator

Protected Methods

Method Description
CreateTangles ( ) : IEnumerator
DatabaseFile ( TaskScheduler scheduler ) : System
IndexSymbolByFunction ( HeapProfiler.TracebackFrame &frame ) : string
IndexTracebackByFrames ( HeapSnapshot traceback ) : IEnumerable
MakeTokenFile ( string filename ) : void

Private Methods

Method Description
DeserializeAddresses ( DeserializationContext &context, UInt32 &output ) : void
DeserializeHeapList ( DeserializationContext &context, HeapSnapshot &output ) : void
DeserializeModuleList ( DeserializationContext &context, string &output ) : void
SerializeAddresses ( SerializationContext &context, UInt32 &input ) : void
SerializeHeapList ( SerializationContext &context, HeapSnapshot &input ) : void
SerializeModuleList ( SerializationContext &context, string &input ) : void

Method Details

CheckTokenFileVersion() public static method

public static CheckTokenFileVersion ( string filename ) : bool
filename string
return bool

CreateTangles() protected method

protected CreateTangles ( ) : IEnumerator
return IEnumerator

DatabaseFile() protected method

protected DatabaseFile ( TaskScheduler scheduler ) : System
scheduler TaskScheduler
return System

DatabaseFile() public method

public DatabaseFile ( TaskScheduler scheduler, string filename ) : System
scheduler TaskScheduler
filename string
return System

Dispose() public method

public Dispose ( ) : void
return void

IndexSymbolByFunction() protected static method

protected static IndexSymbolByFunction ( HeapProfiler.TracebackFrame &frame ) : string
frame HeapProfiler.TracebackFrame
return string

IndexTracebackByFrames() protected static method

protected static IndexTracebackByFrames ( HeapSnapshot traceback ) : IEnumerable
traceback HeapSnapshot
return IEnumerable

MakeTokenFile() protected method

protected MakeTokenFile ( string filename ) : void
filename string
return void

Move() public method

public Move ( string targetFilename, ActivityIndicator activities ) : IEnumerator
targetFilename string
activities ActivityIndicator
return IEnumerator

Property Details

Allocations public property

public Tangle Allocations
return Tangle

FilteredTracebacks public property

public Tangle FilteredTracebacks
return Tangle

HeapAllocations public property

public Tangle HeapAllocations
return Tangle

Modules public property

public Tangle Modules
return Tangle

Scheduler public property

public TaskScheduler Scheduler
return TaskScheduler

SnapshotHeaps public property

public Tangle SnapshotHeaps
return Tangle

SnapshotModules public property

public Tangle SnapshotModules
return Tangle

Snapshots public property

public Tangle Snapshots
return Tangle

Storage public property

public FolderStreamSource Storage
return FolderStreamSource

SymbolCache public property

public Tangle SymbolCache
return Tangle

SymbolsByFunction public property

public Index SymbolsByFunction
return TracebackFrame>.Index

Tracebacks public property

public Tangle Tracebacks
return Tangle