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

org::netbeans::lib::profiler::results::cpu::FlatProfileContainer Class Reference

Inheritance diagram for org::netbeans::lib::profiler::results::cpu::FlatProfileContainer:

org::netbeans::lib::profiler::results::cpu::FlatProfileContainerBacked org::netbeans::lib::profiler::results::cpu::FlatProfileContainerFree

List of all members.


Detailed Description

Container for CPU profiling results in the flat profile form. Supports sorting this data by each column and filtering it as many times as needed (only the external representation is changed in that case; internally data remains the same). This class is an abstract superclass of concrete subclasses in which the data is either backed by CPUCCTContainer or not.

Author:
Misha Dmitriev

Jiri Sedlacek

Definition at line 58 of file FlatProfileContainer.java.


Public Member Functions

void filterOriginalData (String[] filters, int type, double valueFilter)
 FlatProfileContainer (long[] timeInMcs0, long[] timeInMcs1, int[] nInvocations, char[] marks, int nMethods)
int getMethodIdAtRow (int row)
abstract String getMethodNameAtRow (int row)
int getNInvocationsAtRow (int row)
int getNRows ()
long getNTotalInvocations ()
float getPercentAtRow (int row)
long getTimeInMcs0AtRow (int row)
long getTimeInMcs1AtRow (int row)
abstract double getWholeGraphNetTime0 ()
abstract double getWholeGraphNetTime1 ()
boolean isCollectingTwoTimeStamps ()
void sortBy (int sortCrit, boolean order)

Static Public Attributes

static final int SORT_BY_INV_NUMBER = 4
static final int SORT_BY_NAME = 1
static final int SORT_BY_SECONDARY_TIME = 3
static final int SORT_BY_TIME = 2

Protected Member Functions

void removeZeroInvocationEntries ()

Protected Attributes

boolean collectingTwoTimeStamps
int[] methodIds
final char[] methodMarks
int[] nInvocations
long nTotalInvocations
float[] percent
long[] timeInMcs0
long[] timeInMcs1

Static Protected Attributes

static boolean staticUsePrimaryTime

Private Member Functions

void calculatePercent (boolean usePrimaryTime)
boolean passedFilter (String value, String filter, int type)
boolean passedFilters (String value, String[] filters, int type)
void sortDataByInvNumber (boolean sortOrder)
void sortDataByMethodName (boolean sortOrder)
void sortDataByTime (boolean usePrimaryTime, boolean sortOrder)

Private Attributes

int nRows
int totalMethods

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

Generated by  Doxygen 1.6.0   Back to index