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); }
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); }