public static void Begin(string id) { // create a new recording if not present in the list if (!recordings.ContainsKey(id)) { recordings[id] = new ProfilerRecording(id); } recordings[id].Start(); }