tools/prune-trace: fault-space pruning tool
This tool creates the fault-space pruning pilot and group entries. Those are used by the generic campaign to do fault experiments. Currently prune-trace only implements conventional def/use pruning (--prune-method "basic"). Change-Id: I1dfb431e3b1d3cd2ee891a49a3b6ac01210be11f
This commit is contained in:
24
tools/prune-trace/Pruner.hpp
Normal file
24
tools/prune-trace/Pruner.hpp
Normal file
@ -0,0 +1,24 @@
|
||||
#ifndef __PRUNER_H__
|
||||
#define __PRUNER_H__
|
||||
|
||||
#include "util/Database.hpp"
|
||||
|
||||
class Pruner {
|
||||
protected:
|
||||
int m_variant_id;
|
||||
int m_method_id;
|
||||
fail::Database *db;
|
||||
|
||||
public:
|
||||
bool init(const std::string &variant, const std::string &benchmark,
|
||||
fail::Database *sql);
|
||||
|
||||
virtual std::string method_name() = 0;
|
||||
|
||||
virtual bool create_database();
|
||||
virtual bool clear_database();
|
||||
|
||||
virtual bool prune_all() = 0;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user