public class Profiler.RequestProfiler
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
Profiler.RequestProfiler() |
Modifier and Type | Method and Description |
---|---|
void |
endMeasures(long measureOutputSize)
End measures of this request.
|
void |
endMeasures(java.lang.String id,
long curOutputSize)
End measure for given id and add it to the measures of this request.
|
long |
getConsumedMemory() |
long |
getElapsedTime() |
java.util.HashMap<java.lang.String,long[]> |
getMeasuresMap() |
long |
getOutputSize() |
void |
startMeasures()
Start measures of this request.
|
void |
startMeasures(java.lang.String id)
Start a new measure identified with the given id.
|
public void startMeasures()
public void startMeasures(java.lang.String id)
id
- the identification of this measure.public void endMeasures(java.lang.String id, long curOutputSize)
id
- the identification of this measure.curOutputSize
- the size of the content that was outputted for this measurepublic void endMeasures(long measureOutputSize)
measureOutputSize
- the size of the content that was outputted for this requestpublic long getConsumedMemory()
public long getElapsedTime()
public long getOutputSize()
public java.util.HashMap<java.lang.String,long[]> getMeasuresMap()
Copyright © 2001-2010 Jalios SA. All Rights Reserved.