Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Clock.getElapsedTime time unit on Android  (Read 5250 times)

0 Members and 1 Guest are viewing this topic.

CRAZY C

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Clock.getElapsedTime time unit on Android
« 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?

G.

  • Hero Member
  • *****
  • Posts: 1593
    • View Profile
Re: Clock.getElapsedTime time unit on Android
« Reply #1 on: November 16, 2019, 07:36:33 pm »
Doesn't it return sf::Time like it's supposed to?  ???

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Clock.getElapsedTime time unit on Android
« Reply #2 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 ;)
Laurent Gomila - SFML developer

 

anything