Package com.singularsys.jep.misc

# Class MonitoringEvaluator.CountAndTime

java.lang.Object
com.singularsys.jep.misc.MonitoringEvaluator.CountAndTime

Enclosing class:
  `MonitoringEvaluator`

public class MonitoringEvaluator.CountAndTime extends Object
A class to hold the count and times of function/operator/variable/constant calls.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CountAndTime(int count, long time, long instance)`
  Constructor

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `add(MonitoringEvaluator.CountAndTime cnt1)`
  `int`
  `count()`
  `long`
  `instance()`
  `long`
  `time()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### CountAndTime

    public CountAndTime(int count, long time, long instance)
    Constructor
    Parameters:
      `count` - the number of times the function/operator/variable/constant was called
      `time` - the total time spent in the function/operator/variable/constant and all inner calls
      `instance` - the total time spent in the function/operator/variable/constant excluding inner calls

- ## Method Details

  - ### add

    public void add(MonitoringEvaluator.CountAndTime cnt1)

  - ### count

    public int count()

  - ### time

    public long time()

  - ### instance

    public long instance()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`