diff options
Diffstat (limited to 'tests/framework/Profiler.cpp')
-rw-r--r-- | tests/framework/Profiler.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/framework/Profiler.cpp b/tests/framework/Profiler.cpp index b527eb4f09..a4a9beaa29 100644 --- a/tests/framework/Profiler.cpp +++ b/tests/framework/Profiler.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2018 Arm Limited. + * Copyright (c) 2017-2018,2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -81,6 +81,8 @@ void Profiler::test_stop() { _measurements[instrument->id() + "/" + measurement.first].push_back(measurement.second); } + + _header_data = instrument->instrument_header(); } } @@ -88,6 +90,11 @@ const Profiler::MeasurementsMap &Profiler::measurements() const { return _measurements; } + +const std::string &Profiler::header() const +{ + return _header_data; +} } // namespace framework } // namespace test } // namespace arm_compute |