From 6832a926d1e8ea9fb1edfbf8e884a66e4364945b Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Fri, 19 Apr 2019 22:34:38 -0400 Subject: 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. --- include/amber/amber.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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. -- cgit v1.2.3