fix class naming

This commit is contained in:
2022-06-02 08:30:49 +02:00
parent f40ab41899
commit 076b5a39ad
4 changed files with 13 additions and 13 deletions

View File

@@ -89,7 +89,7 @@ private:
};
#endif
cov::cov(std::string const &filename)
pctrace::pctrace(std::string const &filename)
: instr_if(nullptr)
, filename(filename)
, output("output.trc")
@@ -99,9 +99,9 @@ cov::cov(std::string const &filename)
#endif
{ }
cov::~cov() { }
pctrace::~pctrace() { }
bool cov::registration(const char *const version, vm_if& vm) {
bool pctrace::registration(const char *const version, vm_if& vm) {
instr_if = vm.get_arch()->get_instrumentation_if();
if(!instr_if) return false;
const string core_name = instr_if->core_type_name();
@@ -152,7 +152,7 @@ bool cov::registration(const char *const version, vm_if& vm) {
return true;
}
void cov::callback(instr_info_t iinfo, const exec_info& einfo) {
void pctrace::callback(instr_info_t iinfo, const exec_info& einfo) {
auto delay = 0;
size_t id = iinfo.instr_id;
auto entry = delays[id];

View File

@@ -45,7 +45,7 @@
namespace iss {
namespace plugin {
class lz4compress_steambuf;
class cov : public iss::vm_plugin {
class pctrace : public iss::vm_plugin {
struct instr_delay {
std::string instr_name;
size_t size;
@@ -67,17 +67,17 @@ class cov : public iss::vm_plugin {
public:
cov(const cov &) = delete;
pctrace(const pctrace &) = delete;
cov(const cov &&) = delete;
pctrace(const pctrace &&) = delete;
cov(std::string const &);
pctrace(std::string const &);
virtual ~cov();
virtual ~pctrace();
cov &operator=(const cov &) = delete;
pctrace &operator=(const pctrace &) = delete;
cov &operator=(const cov &&) = delete;
pctrace &operator=(const pctrace &&) = delete;
bool registration(const char *const version, vm_if &arch) override;