Package org.nuiton.profiling
Class Trace.StatAndStack
- java.lang.Object
-
- org.nuiton.profiling.Trace.StatAndStack
-
-
Field Summary
Fields Modifier and Type Field Description protected ArrayDeque<Trace.Call>stackvariable used when Trace instanciated in monothread modeprotected Map<Method,StatisticMethod>statisticsstatistic on method callprotected StringthreadName
-
Constructor Summary
Constructors Constructor Description StatAndStack(String threadName, Map<Method,StatisticMethod> statistics, ArrayDeque<Trace.Call> stack)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<Method,StatisticMethod>getStatistics()StatisticMethodgetStatistics(Method method)Retourne les statistiques d'appele pour la methode passee en parametre
-
-
-
Field Detail
-
threadName
protected String threadName
-
statistics
protected Map<Method,StatisticMethod> statistics
statistic on method call
-
stack
protected ArrayDeque<Trace.Call> stack
variable used when Trace instanciated in monothread mode
-
-
Constructor Detail
-
StatAndStack
public StatAndStack(String threadName, Map<Method,StatisticMethod> statistics, ArrayDeque<Trace.Call> stack)
-
-
Method Detail
-
getStatistics
public StatisticMethod getStatistics(Method method)
Retourne les statistiques d'appele pour la methode passee en parametre- Parameters:
method-- Returns:
-
getStatistics
public Map<Method,StatisticMethod> getStatistics()
-
-