| java.lang.Object org.eclipse.ui.internal.misc.UIStats
UIStats | public class UIStats (Code) | | This class is used for monitoring performance events. Each performance
event has an associated option in the org.eclipse.ui plugin's .options file
that specifies an maximum acceptable duration for that event.
See Also: org.eclipse.core.runtime.PerformanceStats |
Method Summary | |
public static void | end(int event, Object blame, String label) | public static boolean | isDebugging(int event) Returns whether tracing of the given debug event is turned on. | public static void | start(int event, String label) | public static void | startupComplete() Special hook to signal that application startup is complete and the event
loop has started running. |
ACTIVATE_PART | final public static int ACTIVATE_PART(Code) | | |
BRING_PART_TO_TOP | final public static int BRING_PART_TO_TOP(Code) | | |
CONTENT_TYPE_LOOKUP | final public static int CONTENT_TYPE_LOOKUP(Code) | | |
CREATE_PART | final public static int CREATE_PART(Code) | | |
CREATE_PART_CONTROL | final public static int CREATE_PART_CONTROL(Code) | | |
CREATE_PART_INPUT | final public static int CREATE_PART_INPUT(Code) | | |
CREATE_PERSPECTIVE | final public static int CREATE_PERSPECTIVE(Code) | | |
INIT_PART | final public static int INIT_PART(Code) | | |
LAST_VALUE | final public static int LAST_VALUE(Code) | | Change this value when you add a new event constant.
|
NOTIFY_PAGE_LISTENERS | final public static int NOTIFY_PAGE_LISTENERS(Code) | | |
NOTIFY_PART_LISTENERS | final public static int NOTIFY_PART_LISTENERS(Code) | | |
NOTIFY_PERSPECTIVE_LISTENERS | final public static int NOTIFY_PERSPECTIVE_LISTENERS(Code) | | |
RESTORE_WORKBENCH | final public static int RESTORE_WORKBENCH(Code) | | |
START_WORKBENCH | final public static int START_WORKBENCH(Code) | | |
SWITCH_PERSPECTIVE | final public static int SWITCH_PERSPECTIVE(Code) | | |
UI_JOB | final public static int UI_JOB(Code) | | |
end | public static void end(int event, Object blame, String label)(Code) | | Indicates the end of a performance operation
Parameters: event - The event id Parameters: blame - An object that is responsible for the event that occurred,or that uniquely describes the event that occurred Parameters: label - The event label |
isDebugging | public static boolean isDebugging(int event)(Code) | | Returns whether tracing of the given debug event is turned on.
Parameters: event - The event id true if tracing of this event is turned on,and false otherwise. |
start | public static void start(int event, String label)(Code) | | Indicates the start of a performance event
Parameters: event - The event id Parameters: label - The event label |
startupComplete | public static void startupComplete()(Code) | | Special hook to signal that application startup is complete and the event
loop has started running.
|
|
|