mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
Adding a timestamp to Session instanciation
Used to compute runtime of a session
This commit is contained in:
@@ -74,6 +74,7 @@ public:
|
||||
|
||||
// update all sources and mark sources which failed
|
||||
void update (float dt);
|
||||
uint64_t runtime() const;
|
||||
|
||||
// update mode (active or not)
|
||||
void setActive (bool on);
|
||||
@@ -159,6 +160,7 @@ protected:
|
||||
float fading_target_;
|
||||
std::mutex access_;
|
||||
FrameBufferImage *thumbnail_;
|
||||
uint64_t start_time_;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user