Title: Replace System.currentTimeMillis() by System.nanoTime() by wilderrodrigues · Pull Request #509 · apache/cloudstack · GitHub
Open Graph Title: Replace System.currentTimeMillis() by System.nanoTime() by wilderrodrigues · Pull Request #509 · apache/cloudstack
X Title: Replace System.currentTimeMillis() by System.nanoTime() by wilderrodrigues · Pull Request #509 · apache/cloudstack
Description: System.nanoTime() is the best way to measure elapsed time in Java. It gives a resolution on the order of microseconds The System.currentTimeMillis() is used when calculating absolut time. Add unit tests to cover negative cases Cover when the profile is not started/stopped Test Environment Management Server: CentOS 7.1 KVM Tests successfully executed: nosetests --with-marvin --marvin-config=/data/shared/marvin/mct-zone2-kvm2-ISOLATED.cfg -s -a tags=advanced,required_hardware=false smoke/test_vm_life_cycle.py smoke/test_routers.py smoke/test_vpc_vpn.py smoke/test_reset_vm_on_reboot.py smoke/test_service_offerings.py component/test_vpc_offerings.py smoke/test_privategw_acl.py smoke/test_network_acl.py
Open Graph Description: System.nanoTime() is the best way to measure elapsed time in Java. It gives a resolution on the order of microseconds The System.currentTimeMillis() is used when calculating absolut time. Add unit...
X Description: System.nanoTime() is the best way to measure elapsed time in Java. It gives a resolution on the order of microseconds The System.currentTimeMillis() is used when calculating absolut time. Add unit...
Opengraph URL: https://github.com/apache/cloudstack/pull/509
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4cf90f3b-f52d-cde8-8fe0-d92325e103db |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B46C:3EE845:71DA8AB:9FB5619:6A4FDAB8 |
| html-safe-nonce | 5a7493b60fae58966d37e9dfabdd1adfc25638092fb1a4eb20b0a7945a9b8063 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDZDOjNFRTg0NTo3MURBOEFCOjlGQjU2MTk6NkE0RkRBQjgiLCJ2aXNpdG9yX2lkIjoiMjE5NjQyMjE0MzUzNjc4MjAwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4f525e5600dc0708173daa2cc3b53a508a572052449d5652e8e12ec16077faba |
| hovercard-subject-tag | pull_request:38306613 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/apache/cloudstack/pull/509/files |
| twitter:image | https://avatars.githubusercontent.com/u/5129209?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5129209?s=400&v=4 |
| og:image:alt | System.nanoTime() is the best way to measure elapsed time in Java. It gives a resolution on the order of microseconds The System.currentTimeMillis() is used when calculating absolut time. Add unit... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/apache/cloudstack git https://github.com/apache/cloudstack.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 9759448 |
| octolytics-dimension-repository_nwo | apache/cloudstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9759448 |
| octolytics-dimension-repository_network_root_nwo | apache/cloudstack |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 142593e66413bbae27fd485859993597d5a3b104 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width