diff options
Diffstat (limited to 'tests/framework/SConscript')
-rw-r--r-- | tests/framework/SConscript | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/tests/framework/SConscript b/tests/framework/SConscript index b8574bd998..450ffd77b0 100644 --- a/tests/framework/SConscript +++ b/tests/framework/SConscript @@ -1,4 +1,7 @@ -# Copyright (c) 2017 ARM Limited. +#!/usr/bin/python +# -*- coding: utf-8 -*- + +# Copyright (c) 2017-2022 Arm Limited. # # SPDX-License-Identifier: MIT # @@ -27,8 +30,8 @@ Import('vars') # vars is imported from arm_compute: variables = [ - BoolVariable("pmu", "Enable PMU counters", False), - BoolVariable("mali", "Enable Mali hardware counters", False), + BoolVariable("pmu", "Enable the PMU cycle counter to measure execution time in benchmark tests. (Your device needs to support it)", False), + BoolVariable("mali", "Enable the collection of Arm® Mali™ hardware counters to measure execution time in benchmark tests. (Your device needs to have a Arm® Mali™ driver that supports it)", False), ] # We need a separate set of Variables for the Help message (Otherwise the global variables will get displayed twice) @@ -47,11 +50,6 @@ Help(new_options.GenerateHelpText(framework_env)) if(env['opencl']): framework_env.Append(CPPDEFINES=['ARM_COMPUTE_CL']) -if(env['gles_compute']): - framework_env.Append(CPPDEFINES=['ARM_COMPUTE_GC']) - if env['os'] != 'android': - framework_env.Append(CPPPATH = ["#opengles-3.1/include", "#opengles-3.1/mali_include"]) - framework_env.Append(CPPPATH = ["."]) framework_env.Append(CPPFLAGS=['-Wno-overloaded-virtual']) @@ -72,7 +70,7 @@ if not env['opencl']: files = [f for f in files if "OpenCL" not in os.path.basename(str(f))] if not framework_env['mali']: - # Remove MALI files + # Remove Arm® Mali™ files files = [f for f in files if "MaliCounter" not in os.path.basename(str(f))] else: framework_env.Append(CPPDEFINES = ['MALI_ENABLED']) |