SFML community forums

Help => System => Topic started by: CRAZY C on November 16, 2019, 01:07:07 pm

Title: Clock.getElapsedTime time unit on Android
Post by: CRAZY C on November 16, 2019, 01:07:07 pm
What does SFML's Clock.getElapsedTime method return specifically on Android?
Milliseconds, microseconds or nanoseconds? And is that always the same or does it depend on something else like hardware, driver or operating system?
Title: Re: Clock.getElapsedTime time unit on Android
Post by: G. on November 16, 2019, 07:36:33 pm
Doesn't it return sf::Time (https://www.sfml-dev.org/documentation/2.5.1/classsf_1_1Time.php) like it's supposed to?  ???
Title: Re: Clock.getElapsedTime time unit on Android
Post by: Laurent on November 17, 2019, 06:28:43 pm
Quote
What does SFML's Clock.getElapsedTime method return specifically on Android?
That's typically what the API documentation is written for. You shouldn't need to ask this kind of questions if you read it ;)