Advertisement
tahg

Untitled

Jan 16th, 2012
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. /**
  2. * Gets the cumulative time this plugin has spent on this event.
  3. *
  4. * @param type An enumerated event type.
  5. * @return The total time for the given event (in ns).
  6. */
  7. public long getTiming(Event.Type type);
  8.  
  9. /**
  10. * Increments the cumulative time for a given event.
  11. *
  12. * @param type An enumerated event type.
  13. * @param delta The amount of time (in ns) to add to this event.
  14. */
  15. public void incTiming(Event.Type type, long delta);
  16.  
  17. /**
  18. * Resets all times for this plugin.
  19. */
  20. public void resetTimings();
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement