Public Member Functions | |
| Profiler () | |
| void | reset () |
| void | start () |
| void | stop () |
| void | fullDescription (String msg) |
| void | addData (String key, String value) |
Static Public Member Functions | |
| static void | main (String[] args) |
Class that facilitates runtime profiling.
| alma.acs.time.Profiler.Profiler | ( | ) |
Standard constructor.
References alma.acs.time.Profiler.reset().
Referenced by alma.acs.time.Profiler.main().
| void alma.acs.time.Profiler.addData | ( | String | key, | |
| String | value | |||
| ) |
Adds data to description output
Referenced by alma.acs.time.Profiler.main().
| void alma.acs.time.Profiler.fullDescription | ( | String | msg | ) |
Prints out a full description of all times that were saved along with other relevant statistical data.
| msg | A message to be printed out with the data. |
Referenced by alma.acs.time.Profiler.main().
| static void alma.acs.time.Profiler.main | ( | String[] | args | ) | [static] |
For testing purposes only!
References alma.acs.time.Profiler.addData(), alma.acs.time.Profiler.fullDescription(), alma.acs.time.Profiler.Profiler(), alma.acs.time.Profiler.reset(), alma.acs.time.Profiler.start(), and alma.acs.time.Profiler.stop().
| void alma.acs.time.Profiler.reset | ( | ) |
Resets this objects values.
Reimplemented from alma.acs.util.StopWatch.
Referenced by alma.acs.time.Profiler.main(), and alma.acs.time.Profiler.Profiler().
| void alma.acs.time.Profiler.start | ( | ) |
Starts a timing operation.
Referenced by alma.acs.time.Profiler.main().
| void alma.acs.time.Profiler.stop | ( | ) |
Stops a timing operation. Should only be called after a start invocation.
Referenced by alma.acs.time.Profiler.main().
1.7.0