* Gets elapsed time since application start * @returns {string} Time in seconds with one decimal place
()
| 282 | * @returns {string} Time in seconds with one decimal place |
| 283 | */ |
| 284 | function getTimeSinceEpoc() { |
| 285 | const outMS = new Date().getTime() - EPOCH; |
| 286 | const outSec = outMS / 1000; |
| 287 | // one decimal place |
| 288 | return outSec.toFixed(1); |
| 289 | } |
| 290 | |
| 291 | /** |
| 292 | * Print function (will be overridden during initialization) |
no test coverage detected