ExecutionTimeMeasurer (cloudsim 3.1-SNAPSHOT API)

org.cloudbus.cloudsim.util

## Class ExecutionTimeMeasurer

- java.lang.Object
- - org.cloudbus.cloudsim.util.ExecutionTimeMeasurer

-     public class ExecutionTimeMeasurer
      extends Object

  The class for measuring the execution time.
  Since:
    CloudSim Toolkit 3.0
  Author:
    Anton Beloglazov

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ExecutionTimeMeasurer()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static double` | `end(String name)` End.
    `static Map<String,Long>` | `getExecutionTimes()` Gets the execution times.
    `static void` | `start(String name)` Start.

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

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

- - ### Constructor Detail

    - #### ExecutionTimeMeasurer

          public ExecutionTimeMeasurer()

  - ### Method Detail

    - #### start

          public static void start(String name)

      Start.
      Parameters:
        `name` - the name

    - #### end

          public static double end(String name)

      End.
      Parameters:
        `name` - the name
      Returns:
        the double

    - #### getExecutionTimes

          public static Map<String,Long> getExecutionTimes()

      Gets the execution times.
      Returns:
        the execution times

Copyright © 2013 The Cloud Computing and Distributed Systems (CLOUDS) Laboratory, The University of Melbourne. All Rights Reserved.