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:
Christian Dietrich
2013-03-21 15:32:44 +01:00
parent 1d25372283
commit 3a5dc285ab
7 changed files with 261 additions and 0 deletions

View 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