Skip to content

Commit 2925874

Browse files
authored
Merge pull request #633 from scratchcpp/llvm_motion_blocks
Implement motion blocks
2 parents b255dc7 + c9fd5ef commit 2925874

File tree

9 files changed

+2767
-7
lines changed

9 files changed

+2767
-7
lines changed

include/scratchcpp/istacktimer.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ class LIBSCRATCHCPP_EXPORT IStackTimer
2828

2929
/*! Returns true if the timer has elapsed. */
3030
virtual bool elapsed() const = 0;
31+
32+
/*! Returns the elapsed time in seconds. */
33+
virtual double elapsedTime() const = 0;
3134
};
3235

3336
} // namespace libscratchcpp

0 commit comments

Comments
 (0)