C# 클래스 Binarysharp.Benchmark.Components.GcPerformanceOptimizer

Class that creates a timeframe during which the performance of the current process is optimized by reducing the probability that the Garbage Collector runs.
상속: IPerformanceOptimizer
파일 보기 프로젝트 열기: ZenLulz/BenchShark 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
IsSectionActivated bool
OldGcLatencyMode GCLatencyMode

공개 메소드들

메소드 설명
EnterOptimizedSection ( ) : void

Enters a section during which the performance of the current process is optimized.

Why use SustainedLowLatency instead of LowLatency: http://www.infoq.com/news/2012/03/Net-403.

LeaveOptimizedSection ( ) : void

Leaves a section during which the performance of the current process is optimized.

메소드 상세

EnterOptimizedSection() 공개 메소드

Enters a section during which the performance of the current process is optimized.
Why use SustainedLowLatency instead of LowLatency: http://www.infoq.com/news/2012/03/Net-403.
public EnterOptimizedSection ( ) : void
리턴 void

LeaveOptimizedSection() 공개 메소드

Leaves a section during which the performance of the current process is optimized.
public LeaveOptimizedSection ( ) : void
리턴 void

프로퍼티 상세

IsSectionActivated 보호되어 있는 프로퍼티

Defines whether the section is activated.
protected bool IsSectionActivated
리턴 bool

OldGcLatencyMode 보호되어 있는 프로퍼티

The latency mode of the Garbage Collector before this object alterates it.
protected GCLatencyMode OldGcLatencyMode
리턴 GCLatencyMode