| OLD | NEW |
| 1 // This code was auto-generated, is not intended to be edited, and is subject to | 1 // This code was auto-generated, is not intended to be edited, and is subject to |
| 2 // significant change. Please see the README file for more information. | 2 // significant change. Please see the README file for more information. |
| 3 library engine.utilities.general; | 3 library engine.utilities.general; |
| 4 import 'java_core.dart'; | 4 import 'java_core.dart'; |
| 5 /** | 5 /** |
| 6 * Helper for measuring how much time is spent doing some operation. | 6 * Helper for measuring how much time is spent doing some operation. |
| 7 */ | 7 */ |
| 8 class TimeCounter { | 8 class TimeCounter { |
| 9 int result = 0; | 9 int result = 0; |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 /** | 26 /** |
| 27 * Stops counting time and updates counter. | 27 * Stops counting time and updates counter. |
| 28 */ | 28 */ |
| 29 void stop() { | 29 void stop() { |
| 30 { | 30 { |
| 31 TimeCounter_this.result += JavaSystem.currentTimeMillis() - _startTime; | 31 TimeCounter_this.result += JavaSystem.currentTimeMillis() - _startTime; |
| 32 } | 32 } |
| 33 } | 33 } |
| 34 } | 34 } |
| OLD | NEW |