示例#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);
 }