Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Gets the cumulative time this plugin has spent on this event.
- *
- * @param type An enumerated event type.
- * @return The total time for the given event (in ns).
- */
- public long getTiming(Event.Type type);
- /**
- * Increments the cumulative time for a given event.
- *
- * @param type An enumerated event type.
- * @param delta The amount of time (in ns) to add to this event.
- */
- public void incTiming(Event.Type type, long delta);
- /**
- * Resets all times for this plugin.
- */
- public void resetTimings();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement