aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordan sinclair <dj2@everburning.com>2019-04-19 22:34:38 -0400
committerDavid Neto <dneto@google.com>2019-04-19 22:34:38 -0400
commit6832a926d1e8ea9fb1edfbf8e884a66e4364945b (patch)
tree1e940044649b7bd312a224901aeb378235bbb482 /include
parent9d7d3bb684694eb43faff42bad8c400e533eaecd (diff)
downloadamber-6832a926d1e8ea9fb1edfbf8e884a66e4364945b.tar.gz
Add flag to log execute calls. (#483)
This CL adds a flag to the sample app and extends the Delgate to allow logging command names before they're executed. This should allow easier tracking down of the command which causes a segv during executing.
Diffstat (limited to 'include')
-rw-r--r--include/amber/amber.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/amber/amber.h b/include/amber/amber.h
index a8977e6..6360f37 100644
--- a/include/amber/amber.h
+++ b/include/amber/amber.h
@@ -74,6 +74,8 @@ class Delegate {
virtual bool LogGraphicsCallsTime() const = 0;
/// Returns the current timestamp in nanoseconds
virtual uint64_t GetTimestampNs() const = 0;
+ /// Tells whether to log each test as it's executed
+ virtual bool LogExecuteCalls() const = 0;
};
/// Stores configuration options for Amber.