//leakcanary-repo/shark/ConstantMemoryMetricsDualSourceProvider
ConstantMemoryMetricsDualSourceProvider¶
[jvm]\ class ConstantMemoryMetricsDualSourceProvider(realSourceProvider: DualSourceProvider) : DualSourceProvider
Captures IO read metrics without using much memory.
Constructors¶
ConstantMemoryMetricsDualSourceProvider | [jvm] constructor(realSourceProvider: DualSourceProvider) |
Functions¶
Name | Summary |
---|---|
openHeapGraph | [jvm] fun DualSourceProvider.openHeapGraph(proguardMapping: ProguardMapping? = null, indexedGcRootTypes: Set<HprofRecordTag> = HprofIndex.defaultIndexedGcRootTags()): CloseableHeapGraph |
openRandomAccessSource | [jvm] open override fun openRandomAccessSource(): RandomAccessSource |
openStreamingSource | [jvm] open override fun openStreamingSource(): BufferedSource |
Properties¶
Name | Summary |
---|---|
byteTravelRange | [jvm] val byteTravelRange: Long |
randomAccessByteReads | [jvm] var randomAccessByteReads: Long |
randomAccessByteTravel | [jvm] var randomAccessByteTravel: Long |
randomAccessReadCount | [jvm] var randomAccessReadCount: Long |