public static void Show(Rect r) { ProfilerInstrumentationPopup windowContent = new ProfilerInstrumentationPopup(s_InstrumentableFunctions, false, true); if (s_InstrumentableFunctions == null) { s_PendingPopup = windowContent; ProfilerDriver.QueryInstrumentableFunctions(); } else { s_PendingPopup = null; } PopupWindow.Show(r, windowContent); }
public static void Show(Rect r) { ProfilerInstrumentationPopup instrumentationPopup = new ProfilerInstrumentationPopup(ProfilerInstrumentationPopup.s_InstrumentableFunctions, false, true); if (ProfilerInstrumentationPopup.s_InstrumentableFunctions == null) { ProfilerInstrumentationPopup.s_PendingPopup = instrumentationPopup; ProfilerDriver.QueryInstrumentableFunctions(); } else { ProfilerInstrumentationPopup.s_PendingPopup = (ProfilerInstrumentationPopup)null; } PopupWindow.Show(r, (PopupWindowContent)instrumentationPopup); }
public static void UpdateInstrumentableFunctions() { ProfilerDriver.QueryInstrumentableFunctions(); }