diff options
author | Anthony Barbier <anthony.barbier@arm.com> | 2018-04-20 15:46:21 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:49:54 +0000 |
commit | 9fb0cac961f70d1937c5fa3eafeaee1385c89768 (patch) | |
tree | 9a8847053f65631e050c231645549adb48c92fb8 /tests/framework/Framework.cpp | |
parent | fda901f0485371e8b6a807c8dd9614560a924793 (diff) | |
download | ComputeLibrary-9fb0cac961f70d1937c5fa3eafeaee1385c89768.tar.gz |
COMPMID-1081: Introduced test-wide instruments
Change-Id: I5831241f3fc503717cc51136453c2bf96d4b420b
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/128484
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'tests/framework/Framework.cpp')
-rw-r--r-- | tests/framework/Framework.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/framework/Framework.cpp b/tests/framework/Framework.cpp index 3091b6677b..238b5ab2c0 100644 --- a/tests/framework/Framework.cpp +++ b/tests/framework/Framework.cpp @@ -288,6 +288,8 @@ void Framework::run_test(const TestInfo &info, TestCaseFactory &test_factory) try { + profiler.test_start(); + test_case->do_setup(); for(int i = 0; i < _num_iterations; ++i) @@ -312,6 +314,8 @@ void Framework::run_test(const TestInfo &info, TestCaseFactory &test_factory) test_case->do_teardown(); + profiler.test_stop(); + // Change status to success if no error has happend if(result.status == TestResult::Status::NOT_RUN) { |