aboutsummaryrefslogtreecommitdiff
path: root/include/amber/amber.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/amber/amber.h')
-rw-r--r--include/amber/amber.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/amber/amber.h b/include/amber/amber.h
index 5a89b88..8e4b5a3 100644
--- a/include/amber/amber.h
+++ b/include/amber/amber.h
@@ -61,6 +61,10 @@ class Delegate {
virtual void Log(const std::string& message) = 0;
/// Tells whether to log the graphics API calls
virtual bool LogGraphicsCalls() const = 0;
+ /// Tells whether to log the duration of graphics API calls
+ virtual bool LogGraphicsCallsTime() const = 0;
+ /// Returns the current timestamp in nanoseconds
+ virtual uint64_t GetTimestampNs() const = 0;
};
struct Options {