C# Class StackExchange.Profiling.ProfilerExtensions

The profiler extensions.
Afficher le fichier Open project: JSkimming/MiniProfiler.WebAPI

Méthodes publiques

Méthode Description
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

Method Details

Deserialize() public static méthode

public static Deserialize ( string serializedProfiler ) : StackExchange.Profiling.MiniProfiler
serializedProfiler string
Résultat StackExchange.Profiling.MiniProfiler

Serialize() public static méthode

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

UpdateStartMillisecondTimingsByDelta() public static méthode

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.
Résultat void

UpdateStartMillisecondTimingsToAbsolute() public static méthode

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.
Résultat void