Browse Source

Added comment to Time::getCurrentTime() to make clear that it is not required to be monotonic.

tags/2021-05-28
Timur Doumler 9 years ago
parent
commit
8174ad00b3
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      modules/juce_core/time/juce_Time.h

+ 3
- 0
modules/juce_core/time/juce_Time.h View File

@@ -99,6 +99,9 @@ public:
//==============================================================================
/** Returns a Time object that is set to the current system time.
This may not be monotonic, as the system time can change at any moment.
You should therefore not use this method for measuring time intervals.
@see currentTimeMillis
*/
static Time JUCE_CALLTYPE getCurrentTime() noexcept;


Loading…
Cancel
Save