com.dukascopy.api.system
Interface IPerfStatData


public interface IPerfStatData

Contains performance data concerning the execution of a strategy function.


Method Summary
 int getCallCount()
          Returns the number of times that the function has been called.
 long getDuration()
          Returns time elapsed to execute the function.
 double getDurationPercent()
          Returns time elapsed to execute the function.
 java.lang.String getFunctionInfo()
          Returns the name and info about the function that this object describes.
 

Method Detail

getFunctionInfo

java.lang.String getFunctionInfo()
Returns the name and info about the function that this object describes.

Returns:
info

getCallCount

int getCallCount()
Returns the number of times that the function has been called.

Returns:
percentage

getDurationPercent

double getDurationPercent()
Returns time elapsed to execute the function. Time is expressed as percentage of all time elapsed in the strategy.

Returns:
percentage of all time elapsed in strategy

getDuration

long getDuration()
Returns time elapsed to execute the function.

Returns:
time in nanoseconds