Logo Search packages:      
Sourcecode: visualvm version File versions  Download package

org::netbeans::lib::profiler::common::ProfilingSettings Class Reference

Inherited by org::netbeans::lib::profiler::common::ProfilingSettingsPresets::CPUPreset, org::netbeans::lib::profiler::common::ProfilingSettingsPresets::MemoryPreset, and org::netbeans::lib::profiler::common::ProfilingSettingsPresets::MonitorPreset.

List of all members.


Detailed Description

A Class holding a single named profiling configuration settings within the IDE.

Author:
Tomas Hurka

Ian Formanek

Jiri Sedlacek

Definition at line 68 of file ProfilingSettings.java.


Public Member Functions

void addRootMethod (final String className, final String methodName, final String signature)
void addRootMethods (final ClientUtils.SourceCodeSelection[] selections)
void applySettings (final ProfilerEngineSettings settings)
void copySettingsInto (final ProfilingSettings settings)
String debug ()
int getAllocStackTraceLimit ()
int getAllocTrackEvery ()
ClientUtils.SourceCodeSelection getCodeFragmentSelection ()
int getCodeRegionCPUResBufSize ()
int getCPUProfilingType ()
boolean getExcludeWaitTime ()
int getInstrScheme ()
ClientUtils.SourceCodeSelection[] getInstrumentationMarkerMethods ()
ClientUtils.SourceCodeSelection[] getInstrumentationMethods ()
ClientUtils.SourceCodeSelection[] getInstrumentationRootMethods ()
boolean getInstrumentEmptyMethods ()
boolean getInstrumentGetterSetterMethods ()
boolean getInstrumentMethodInvoke ()
boolean getInstrumentSpawnedThreads ()
String getJavaPlatformName ()
String getJVMArgs ()
int getNProfiledThreadsLimit ()
boolean getOverrideGlobalSettings ()
boolean getProfileUnderlyingFramework ()
int getProfilingType ()
SimpleFilter getQuickFilter ()
boolean getRunGCOnGetResultsInMemoryProfiling ()
int getSamplingInterval ()
Object getSelectedInstrumentationFilter ()
String getSettingsName ()
boolean getSortResultsByThreadCPUTime ()
boolean getThreadCPUTimerOn ()
boolean getThreadsMonitoringEnabled ()
String getWorkingDir ()
boolean isPreset ()
void load (final Map props, final String prefix)
void load (final Map props)
 ProfilingSettings (final String name)
void setAllocStackTraceLimit (final int allocStackTraceLimit)
void setAllocTrackEvery (final int value)
void setCodeFragmentSelection (final ClientUtils.SourceCodeSelection fragmentSel)
void setCodeRegionCPUResBufSize (final int codeRegionCPUResBufSize)
void setCPUProfilingType (final int cpuProfilingType)
void setExcludeWaitTime (boolean value)
void setInstrScheme (final int instrScheme)
void setInstrumentationMarkerMethods (final ClientUtils.SourceCodeSelection[] markers)
void setInstrumentationRootMethods (final ClientUtils.SourceCodeSelection[] roots)
void setInstrumentEmptyMethods (final boolean instrumentEmptyMethods)
void setInstrumentGetterSetterMethods (final boolean instrumentGetterSetterMethods)
void setInstrumentMethodInvoke (final boolean instrumentMethodInvoke)
void setInstrumentSpawnedThreads (final boolean instrumentSpawnedThreads)
void setIsPreset (boolean isPreset)
void setJavaPlatformName (String value)
void setJVMArgs (final String args)
void setNProfiledThreadsLimit (final int nProfiledThreadsLimit)
void setOverrideGlobalSettings (final boolean override)
void setProfileUnderlyingFramework (final boolean profileUF)
void setProfilingType (final int profilingType)
void setQuickFilter (SimpleFilter quickFilter)
void setRunGCOnGetResultsInMemoryProfiling (final boolean runGCOnGetResultsInMemoryProfiling)
void setSamplingInterval (final int samplingInterval)
void setSelectedInstrumentationFilter (final Object sif)
void setSettingsName (final String name)
void setSortResultsByThreadCPUTime (final boolean sortResultsByThreadCPUTime)
void setThreadCPUTimerOn (final boolean threadCPUTimerOn)
void setThreadsMonitoringEnabled (final boolean enabled)
void setUseProfilingPoints (boolean enabled)
void setWorkingDir (final String workingDir)
void store (final Map props, final String prefix)
void store (final Map props)
String toString ()
boolean useProfilingPoints ()

Static Public Member Functions

static void saveRootMethods (final ClientUtils.SourceCodeSelection[] roots, final Map props)

Public Attributes

transient boolean instrRootMethodsPending = false

Static Public Attributes

static final String LINES_PREFIX = "[lines]"
static final int PROFILE_CPU_ENTIRE = 8
static final int PROFILE_CPU_PART = 16
static final int PROFILE_CPU_STOPWATCH = 32
static final int PROFILE_MEMORY_ALLOCATIONS = 2
static final int PROFILE_MEMORY_LIVENESS = 4
static final int PROFILE_MONITOR = 1
static final String PROP_CODE_REGION_CPU_RES_BUF_SIZE = "profiler.settings.code.region.cpu.res.buf.size"
static final String PROP_CPU_PROFILING_TYPE = "profiler.settings.cpu.profiling.type"
static final String PROP_EXCLUDE_WAIT_TIME = "profiler.settings.cpu.exclude.wait.time"
static final String PROP_FRAGMENT_SELECTION = "profiler.settings.fragment.selection"
static final String PROP_INSTR_SCHEME = "profiler.settings.instr.scheme"
static final String PROP_INSTRUMENT_EMPTY_METHODS = "profiler.settings.instrument.empty.methods"
static final String PROP_INSTRUMENT_GETTER_SETTER_METHODS = "profiler.settings.istrument.getter.setter.methods"
static final String PROP_INSTRUMENT_METHOD_INVOKE = "profiler.settings.instrument.method.invoke"
static final String PROP_INSTRUMENT_SPAWNED_THREADS = "profiler.settings.instrument.spawned.threads"
static final String PROP_INSTRUMENTATION_MARKER_METHODS_PREFIX = "profiler.settings.istrumentation.marker.methods-"
static final String PROP_INSTRUMENTATION_MARKER_METHODS_SIZE = "profiler.settings.instrumentation.marker.methods.size"
static final String PROP_INSTRUMENTATION_ROOT_METHODS_PREFIX = "profiler.settings.istrumentation.root.methods-"
static final String PROP_INSTRUMENTATION_ROOT_METHODS_SIZE = "profiler.settings.instrumentation.root.methods.size"
static final String PROP_IS_PRESET = "profiler.settigns.ispreset"
static final String PROP_JAVA_PLATFORM = "profiler.settings.override.java.platform"
static final String PROP_JVM_ARGS = "profiler.settings.override.jvm.args"
static final String PROP_N_PROFILED_THREADS_LIMIT = "profiler.settings.n.profiled.threads.limit"
static final String PROP_OBJ_ALLOC_STACK_SAMPLING_DEPTH = "profiler.settings.obj.alloc.stack.sampling.depth"
static final String PROP_OBJ_ALLOC_STACK_SAMPLING_INTERVAL = "profiler.settings.obj.alloc.stack.sampling.interval"
static final String PROP_OVERRIDE_GLOBAL_SETTINGS = "profiler.settings.override"
static final String PROP_PROFILE_UNDERLYING_FRAMEWORK = "profiler.settings.profile.underlying.framework"
static final String PROP_PROFILING_POINTS_ENABLED = "profiler.settings.profilingpoints.enabled"
static final String PROP_PROFILING_TYPE = "profiler.settings.profiling.type"
static final String PROP_QUICK_FILTER = "profiler.settings.cpu.quick.filter"
static final String PROP_RUN_GC_ON_GET_RESULTS_IN_MEMORY_PROFILING = "profiler.settings.run.gc.on.get.results.in.memory.profiling"
static final String PROP_SAMPLING_INTERVAL = "profiler.settings.sampling.interval"
static final String PROP_SELECTED_INSTR_FILTER = "profiler.settings.instrumentation.filter.selected"
static final String PROP_SETTINGS_NAME = "profiler.settings.settings.name"
static final String PROP_SORT_RESULTS_BY_THREAD_CPU_TIME = "profiler.settings.sort.results.by.thread.cpu.time"
static final String PROP_THREAD_CPU_TIMER_ON = "profiler.settings.thread.cpu.timer.on"
static final String PROP_THREADS_MONITORING_ENABLED = "profiler.settings.threads.monitoring.enabled"
static final String PROP_WORKING_DIR = "profiler.settings.override.working.dir"
static final boolean QUICK_FILTER_EXCLUSIVE = false
static final boolean QUICK_FILTER_INCLUSIVE = true

Static Package Functions

static String getProperty (final Map props, final Object key, final String defaultValue)

Static Package Attributes

static final String DEFAULT_PROFILING_SETTINGS_NAME = bundle.getString("ProfilingSettings_DefaultProfilingSettingsName")

Private Attributes

int allocStackTraceLimit = 0
int allocTrackEvery = 10
int codeRegionCPUResBufSize = 1000
int cpuProfilingType = CommonConstants.CPU_INSTR_FULL
boolean excludeWaitTime = true
ClientUtils.SourceCodeSelection fragmentSelection = null
int instrScheme = CommonConstants.INSTRSCHEME_LAZY
List instrumentationMarkerMethods = new ArrayList()
List instrumentationRootMethods = new ArrayList()
boolean instrumentEmptyMethods = false
boolean instrumentGetterSetterMethods = false
boolean instrumentMethodInvoke = true
boolean instrumentSpawnedThreads = false
boolean isPreset = false
String jvmArgs = ""
int nProfiledThreadsLimit = 32
boolean overrideGlobalSettings = false
String platformName = null
boolean profileUnderlyingFramework = false
int profilingType = PROFILE_CPU_ENTIRE
SimpleFilter quickFilter = FilterUtils.QUICK_FILTER
boolean runGCOnGetResultsInMemoryProfiling = true
int samplingInterval = 10
Object selectedInstrumentationFilter = SimpleFilter.NO_FILTER
String settingsName = DEFAULT_PROFILING_SETTINGS_NAME
boolean sortResultsByThreadCPUTime = false
boolean threadCPUTimerOn = false
boolean threadsMonitoringEnabled = false
boolean useProfilingPoints = true
String workingDir = ""

Static Private Attributes

static final ResourceBundle bundle = ResourceBundle.getBundle("org.netbeans.lib.profiler.common.Bundle")
static final String UNKNOWN_PROFILING_SETTINGS_NAME = bundle.getString("ProfilingSettings_UnknownProfilingSettingsName")

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index