C# Class msos.HeapIndex

显示文件 Open project: goldshtn/msos Class Usage Examples

Public Methods

Method Description
Build ( int chunkSize, string indexFileName, bool enumerateAllRoots ) : bool
FindPaths ( ulong targetObj, int maxResults, int maxLocalRoots, int maxDepth, bool runInParallel ) : IEnumerable
FindRefs ( ulong targetObj ) : IEnumerable
HeapIndex ( CommandExecutionContext context ) : System
Load ( string indexFileName ) : void

Private Methods

Method Description
BuildChunkIndex ( ) : void
BuildChunks ( ) : void
ChunkIdForObject ( ulong objAddress ) : int
DisplayStatistics ( ) : void
Measure ( System.Action what, string description ) : void
Save ( string indexFileName ) : void
StartOfChunk ( ulong address ) : ulong

Method Details

Build() public method

public Build ( int chunkSize, string indexFileName, bool enumerateAllRoots ) : bool
chunkSize int
indexFileName string
enumerateAllRoots bool
return bool

FindPaths() public method

public FindPaths ( ulong targetObj, int maxResults, int maxLocalRoots, int maxDepth, bool runInParallel ) : IEnumerable
targetObj ulong
maxResults int
maxLocalRoots int
maxDepth int
runInParallel bool
return IEnumerable

FindRefs() public method

public FindRefs ( ulong targetObj ) : IEnumerable
targetObj ulong
return IEnumerable

HeapIndex() public method

public HeapIndex ( CommandExecutionContext context ) : System
context CommandExecutionContext
return System

Load() public method

public Load ( string indexFileName ) : void
indexFileName string
return void