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