示例#1
0
    def execution_menu(self):
        """
        Show execution menu.
        """
        selection = self.print_menu(*self.execution_menu_desc)

        ee = e2e.E2E(self.protocol_config, self.protocol_config_path)
        if selection == 1:
            ee.install_experiment()
        elif selection == 2:
            ee.execute_experiment()
        elif selection == 3:
            ee.execute_experiment_callgrind()
        elif selection == 4:
            ee.execute_experiment_with_latency()
        elif selection == 5:
            ee.update_libscapi()
示例#2
0
    def execution_menu(self):
        """
        Show execution menu.
        """
        selection = self.print_menu(*self.execution_menu_desc)

        ee = e2e.E2E(self.protocol_config)
        if selection == 1:
            ee.install_experiment()
        elif selection == 2:
            ee.execute_experiment()
        elif selection == 3:
            ee.execute_experiment_with_cpu_profiler()
        elif selection == 4:
            ee.execute_experiment_with_latency()
        elif selection == 5:
            ee.update_libscapi()
        elif selection == 6:
            ee.get_logs()
        elif selection == 7:
            ee.delete_old_experiment()