Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Milliseconds #46

Open
Dimitris-Nikolopoulos opened this issue Oct 27, 2015 · 4 comments
Open

Milliseconds #46

Dimitris-Nikolopoulos opened this issue Oct 27, 2015 · 4 comments

Comments

@Dimitris-Nikolopoulos
Copy link

Very nice plugin!!! You have done a great job!!!

Is there any way to display a format with milliseconds?

Thank you for your time

@walmik
Copy link
Owner

walmik commented Oct 28, 2015

Thank you for you kind words!

Currently the timer subtracts the current timestamp from the timestamp from when the timer was started. It does this every 500ms to get the accurate number of seconds elapsed. To get the milliseconds we will have to do it at every millisecond! I m not so sure if this would be the right approach. But I m marking this suggestion as an enhancement in case someone wants to develop it and make a PR.

@rsxdalv
Copy link

rsxdalv commented May 9, 2016

What about not going the whole way, but instead stopping at, say 1/10ths or 1/100ths, as those are usually enough even for real time applications? Not having any decimal places reduces the responsiveness feeling.

@akgoenka
Copy link

Hi i have done in 100ms render than exactly 1000 milliseconds format to ensure better performance and precision.. it also support formatting code "%x" which is for milliseconds in 100s..

``

@myselfgaurav
Copy link

@akgoenka can you share code i want to use millisecond one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants