diff options
Diffstat (limited to 'tests/Test.h')
-rw-r--r-- | tests/Test.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Test.h b/tests/Test.h index 1aa038748f..a4baf5b13c 100644 --- a/tests/Test.h +++ b/tests/Test.h @@ -12,6 +12,7 @@ #include "SkString.h" #include "SkTRegistry.h" #include "SkThread.h" +#include "SkTypes.h" class GrContextFactory; @@ -70,6 +71,7 @@ namespace skiatest { const char* getName(); void run(); bool passed() const { return fPassed; } + SkMSec elapsedMs() const { return fElapsed; } static const SkString& GetTmpDir(); @@ -85,6 +87,7 @@ namespace skiatest { Reporter* fReporter; SkString fName; bool fPassed; + SkMSec fElapsed; }; class GpuTest : public Test{ |