pfp::core::db::Watchpoint Class Reference

Class representation of watchpoints. More...

#include <Watchpoint.h>

+ Collaboration diagram for pfp::core::db::Watchpoint:

Public Member Functions

 Watchpoint ()
 Default Constructor.
 
 Watchpoint (std::string name, bool dis=false)
 Constructor. More...
 
int getID () const
 Get the unique ID of the Watchpoint. More...
 
std::string getCounterName () const
 Get name of counter the Watchpoint is set on. More...
 

Public Attributes

bool disabled
 

Detailed Description

Class representation of watchpoints.

Watchpoints can be set on counters. When set, the user will be notified if the value of a counter changes.

Constructor & Destructor Documentation

pfp::core::db::Watchpoint::Watchpoint ( std::string  name,
bool  dis = false 
)
explicit

Constructor.

Parameters
nameName of counter the Watchpoint is set on.
dis= Indicates if the Watchpoint is disabled.

Member Function Documentation

std::string pfp::core::db::Watchpoint::getCounterName ( ) const

Get name of counter the Watchpoint is set on.

Returns
Name of counter.

+ Here is the caller graph for this function:

int pfp::core::db::Watchpoint::getID ( ) const

Get the unique ID of the Watchpoint.

Returns
ID of Watchpoint.

Member Data Documentation

bool pfp::core::db::Watchpoint::disabled

Indicates if the Watchpoint is disabled.


The documentation for this class was generated from the following files:
  • /home/lemniscate/workspace/PFPSim/pfpsim/core/debugger/Watchpoint.h
  • /home/lemniscate/workspace/PFPSim/pfpsim/core/debugger/Watchpoint.cpp