Heap = 6,
Sample = 7,
Runtime = 8,
- Coverage = 9,
Meta = 10,
AllocationNoBacktrace = 0 << 4,
RuntimeJitHelper = 1 << 4,
- CoverageAssembly = 0 << 4,
- CoverageMethod = 1 << 4,
- CoverageStatement = 2 << 4,
- CoverageClass = 3 << 4,
-
MetaSynchronizationPoint = 0 << 4,
}
ExceptionHandling = 10,
}
- // mono/profiler/log.h : SAMPLE_*
- public enum LogSampleHitType {
- Cycles = 1,
- Instructions = 2,
- CacheMisses = 3,
- CacheHits = 4,
- Branches = 5,
- BranchMisses = 6,
- }
-
- // mono/metadata/profiler.h : MonoProfileGCRootType
+ // mono/metadata/profiler.h : MonoProfilerGCRootType
[Flags]
public enum LogHeapRootAttributes {
Pinning = 1 << 8,
TypeMask = 0xff,
}
- // mono/metadata/profiler.h : MonoProfilerMonitorEvent
+ // mono/profiler/log.h : MonoProfilerMonitorEvent
public enum LogMonitorEvent {
Contention = 1,
Done = 2,
Fault = 4,
}
- // mono/metadata/profiler.h : MonoGCEvent
+ // mono/metadata/profiler.h : MonoProfilerGCEvent
public enum LogGCEvent {
- Begin = 0,
- MarkBegin = 1,
- MarkEnd = 2,
- ReclaimBegin = 3,
- ReclaimEnd = 4,
- End = 5,
PreStopWorld = 6,
+ PreStopWorldLocked = 10,
PostStopWorld = 7,
+ Begin = 0,
+ End = 5,
PreStartWorld = 8,
PostStartWorld = 9,
- PreStopWorldLocked = 10,
PostStartWorldUnlocked = 11,
+ // Following are v13 and older only
+ MarkBegin = 1,
+ MarkEnd = 2,
+ ReclaimBegin = 3,
+ ReclaimEnd = 4
}
- // mono/sgen/gc-internal-agnostic.h : GCHandleType
+ // mono/metadata/mono-gc.h : MonoGCHandleType
public enum LogGCHandleType {
Weak = 0,
WeakTrackResurrection = 1,
WorldStop = 1,
WorldStart = 2,
}
+
+ // mono/metadata/profiler.h : MonoProfilerSampleMode
+ public enum LogSampleMode {
+ None = 0,
+ Process = 1,
+ Real = 2,
+ }
+
+ // mono/profiler/log.h : MonoProfilerHeapshotMode
+ public enum LogHeapshotMode {
+ None = 0,
+ EveryMajor = 1,
+ OnDemand = 2,
+ Milliseconds = 3,
+ Collections = 4,
+ }
}