Closed jjfumero closed 6 months ago
This PR fixes the profiler when it is enabled in SILENT mode from the TornadoExecutionPlan API.
SILENT
TornadoExecutionPlan
The issue is that the profiler was only checked from the command line argument, rather than both command line and API enabled.
Mark the backends affected by this PR.
Mark the OS where this PR is tested.
If it is applicable, check your changes on FPGAs.
$ make $ tornado-test -V uk.ac.manchester.tornado.unittests.profiler.TestProfiler#testProfilerOnAndOff WARNING: Using incubator modules: jdk.incubator.vector Enable Profiler Test: class uk.ac.manchester.tornado.unittests.profiler.TestProfiler#testProfilerOnAndOff Running test: testProfilerOnAndOff ................ [PASS] Test ran: 1, Failed: 0, Unsupported: 0
Description
This PR fixes the profiler when it is enabled in
SILENT
mode from theTornadoExecutionPlan
API.Problem description
The issue is that the profiler was only checked from the command line argument, rather than both command line and API enabled.
Backend/s tested
Mark the backends affected by this PR.
OS tested
Mark the OS where this PR is tested.
Did you check on FPGAs?
If it is applicable, check your changes on FPGAs.
How to test the new patch?