Class SamplingProfiler
java.lang.Object
net.bull.javamelody.internal.model.SamplingProfiler
Detect CPU hotspots CPU by periodic sampling of the stack-traces of the threads.
- Author:
- Emeric Vernat with some ideas from Cédrik Lime
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.SamplingProfiler(String excludedPackages, String includedPackages) Constructor.SamplingProfiler(List<String> excludedPackages, List<String> includedPackages) Constructor. -
Method Summary
-
Constructor Details
-
SamplingProfiler
public SamplingProfiler()Constructor. Excluded packages by default "java,sun,com.sun,javax,org.apache,org.hibernate,oracle,org.postgresql,org.eclipse" -
SamplingProfiler
Constructor.- Parameters:
excludedPackages- List of excluded packages (can be null)includedPackages- List of included packages (can be null)
-
SamplingProfiler
Constructor.- Parameters:
excludedPackages- List of excluded packages separated by comma (can be null)includedPackages- List of included packages separated by comma (can be null)
-
-
Method Details
-
update
public void update() -
getHotspots
-
clear
public void clear()
-