C# 클래스 StackExchange.Profiling.ProfilerExtensions

The profiler extensions.
파일 보기 프로젝트 열기: JSkimming/MiniProfiler.WebAPI

공개 메소드들

메소드 설명
Deserialize ( string serializedProfiler ) : StackExchange.Profiling.MiniProfiler
Serialize ( this profiler ) : string

Serializes the supplied profiler to a compressed base 64 encoded string.

UpdateStartMillisecondTimingsByDelta ( this timing, decimal deltaMilliseconds ) : void

Delta is added to the existing StartMillisecondsValue Recursive method

UpdateStartMillisecondTimingsToAbsolute ( this timing, decimal newStartMilliseconds ) : void

We don't actually know the start milliseconds, but lets take it as zero being the start of the current head

메소드 상세

Deserialize() 공개 정적인 메소드

public static Deserialize ( string serializedProfiler ) : StackExchange.Profiling.MiniProfiler
serializedProfiler string
리턴 StackExchange.Profiling.MiniProfiler

Serialize() 공개 정적인 메소드

Serializes the supplied profiler to a compressed base 64 encoded string.
public static Serialize ( this profiler ) : string
profiler this The profiler to serialize.
리턴 string

UpdateStartMillisecondTimingsByDelta() 공개 정적인 메소드

Delta is added to the existing StartMillisecondsValue Recursive method
public static UpdateStartMillisecondTimingsByDelta ( this timing, decimal deltaMilliseconds ) : void
timing this The timing.
deltaMilliseconds decimal The delta Milliseconds.
리턴 void

UpdateStartMillisecondTimingsToAbsolute() 공개 정적인 메소드

We don't actually know the start milliseconds, but lets take it as zero being the start of the current head
public static UpdateStartMillisecondTimingsToAbsolute ( this timing, decimal newStartMilliseconds ) : void
timing this the timing data
newStartMilliseconds decimal new Start Milliseconds.
리턴 void