[ 
https://issues.apache.org/jira/browse/OAK-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14084700#comment-14084700
 ] 

Davide Giannella commented on OAK-2013:
---------------------------------------

usage example

{noformat}
// ... 
StopwatchLogger sl = new StopwatchLogger(FooBar.class); 
// ...

public void foo() { 
  sl.start(); 
  // perform all sort of things 
  sl.split("performed some operations"); 
  // perform other things 
  sl.stop("operation completed"); 
} 
{noformat}

> Add utility class for tracking time spent in the code
> -----------------------------------------------------
>
>                 Key: OAK-2013
>                 URL: https://issues.apache.org/jira/browse/OAK-2013
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Davide Giannella
>            Assignee: Davide Giannella
>            Priority: Trivial
>             Fix For: 1.1
>
>
> Provide an utility class that could be used for tracking time spent during an 
> operation.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to