Пример #1
0
 internal static ProfilerRecorder StartNew()
 {
     return(ProfilerRecorder.Create(default(ProfilerRecorderHandle), 0, ProfilerRecorderOptions.StartImmediately));
 }
Пример #2
0
 public ProfilerRecorder(ProfilerRecorderHandle statHandle, int capacity = 1, ProfilerRecorderOptions options = ProfilerRecorderOptions.Default)
 {
     this = ProfilerRecorder.Create(statHandle, capacity, options);
 }
Пример #3
0
 public ProfilerRecorder(ProfilerMarker marker, int capacity = 1, ProfilerRecorderOptions options = ProfilerRecorderOptions.Default)
 {
     this = ProfilerRecorder.Create(ProfilerRecorderHandle.Get(marker), capacity, options);
 }
Пример #4
0
        public unsafe ProfilerRecorder(ProfilerCategory category, char *statName, int statNameLen, int capacity = 1, ProfilerRecorderOptions options = ProfilerRecorderOptions.Default)
        {
            ProfilerRecorderHandle byName = ProfilerRecorderHandle.GetByName(category, statName, statNameLen);

            this = ProfilerRecorder.Create(byName, capacity, options);
        }
Пример #5
0
        public ProfilerRecorder(ProfilerCategory category, string statName, int capacity = 1, ProfilerRecorderOptions options = ProfilerRecorderOptions.Default)
        {
            ProfilerRecorderHandle byName = ProfilerRecorderHandle.GetByName(category, statName);

            this = ProfilerRecorder.Create(byName, capacity, options);
        }
Пример #6
0
 internal ProfilerRecorder(ProfilerRecorderOptions options)
 {
     this = ProfilerRecorder.Create(default(ProfilerRecorderHandle), 0, options);
 }