Esempio n. 1
0
 internal SimpleProfilerSource(string name, LoadingProfiler profiler) : base(name, 1, profiler)
 {
 }
Esempio n. 2
0
 internal ProfilerSource(LoadingProfiler profiler, Sink sink) : base()
 {
     this.sink   = sink;
     this.events = GetEvents(profiler);
 }
Esempio n. 3
0
 internal static FastList <LoadingProfiler.Event> GetEvents(LoadingProfiler profiler) => (FastList <LoadingProfiler.Event>)EventsField.GetValue(profiler);
Esempio n. 4
0
 internal ProfilerSource(string name, int len, LoadingProfiler profiler) : this(profiler, new Sink(name, len))
 {
 }
Esempio n. 5
0
 internal ProfilerSource(LoadingProfiler profiler, Sink sink, bool alwaysLoading = false) : base()
 {
     this.sink          = sink;
     this.events        = GetEvents(profiler);
     this.alwaysLoading = alwaysLoading;
 }