mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2025-12-16 00:50:06 +01:00
frontend returns strings; added helper function to calc. unmatched ratio
This commit is contained in:
@@ -67,13 +67,15 @@ class TestFrontend(unittest.TestCase):
|
||||
def test_frontend_x86(self):
|
||||
dg = KernelDG(self.kernel_x86, self.parser_x86, self.machine_model_csx)
|
||||
fe = Frontend(path_to_yaml=os.path.join(self.MODULE_DATA_DIR, 'csx.yml'))
|
||||
fe.print_throughput_analysis(self.kernel_x86, show_cmnts=False)
|
||||
fe.print_latency_analysis(dg.get_critical_path())
|
||||
fe.throughput_analysis(self.kernel_x86, show_cmnts=False)
|
||||
fe.latency_analysis(dg.get_critical_path())
|
||||
# TODO compare output with checked string
|
||||
|
||||
def test_frontend_AArch64(self):
|
||||
dg = KernelDG(self.kernel_AArch64, self.parser_AArch64, self.machine_model_tx2)
|
||||
fe = Frontend(path_to_yaml=os.path.join(self.MODULE_DATA_DIR, 'tx2.yml'))
|
||||
fe.print_full_analysis(self.kernel_AArch64, dg, verbose=True)
|
||||
fe.full_analysis(self.kernel_AArch64, dg, verbose=True)
|
||||
# TODO compare output with checked string
|
||||
|
||||
##################
|
||||
# Helper functions
|
||||
|
||||
Reference in New Issue
Block a user