C# Class Grpc.Core.Profiling.Profilers

显示文件 Open project: grpc/grpc

Public Methods

Method Description
ForCurrentThread ( ) : IProfiler
NewScope ( this profiler, string tag ) : Grpc.Core.Profiling.ProfilerScope
SetForCurrentThread ( IProfiler profiler ) : void

Method Details

ForCurrentThread() public static method

public static ForCurrentThread ( ) : IProfiler
return IProfiler

NewScope() public static method

public static NewScope ( this profiler, string tag ) : Grpc.Core.Profiling.ProfilerScope
profiler this
tag string
return Grpc.Core.Profiling.ProfilerScope

SetForCurrentThread() public static method

public static SetForCurrentThread ( IProfiler profiler ) : void
profiler IProfiler
return void