GPUOcelot
|
watchpoint datastructure More...
#include <InteractiveDebugger.h>
Public Types | |
enum | Type { Register_location, Global_location, Shared_location, Param_location, Texture_location, Local_location, Unknown_location } |
enum | Reference { Address, Symbol, Unknown_reference } |
enum | HitType { Any_access, Read_access, Write_access, Unknown_access } |
Public Member Functions | |
Watchpoint () | |
bool | test (const trace::TraceEvent &event) |
tests an event against a watch point and returns true if it hit | |
Public Attributes | |
Type | type |
state space of watchpoint | |
Reference | reference |
reference type of watchpoint | |
std::string | symbol |
symbol name (assumes reference == Symbol) | |
ir::PTXOperand::DataType | dataType |
indicates type of data | |
void * | ptr |
location in memory | |
size_t | elements |
number of dataType elements in watched region | |
size_t | size |
size of watched region in bytes | |
int | threadId |
filters on a particular thread | |
HitType | hitType |
indicates whether to break on read, write, or any access to watchpoint | |
bool | breakOnAccess |
if true, watchpoint is a breakpoint | |
size_t | reads |
number of times a thread reads the watchpoint | |
size_t | writes |
number of times a thread writes to the watchpoint | |
InteractiveDebugger * | debugger |
debugger | |
std::string | hitMessage |
message recorded on most recent hit of watchpoint |
watchpoint datastructure
trace::InteractiveDebugger::Watchpoint::Watchpoint | ( | ) |
bool trace::InteractiveDebugger::Watchpoint::test | ( | const trace::TraceEvent & | event | ) |
tests an event against a watch point and returns true if it hit
if true, watchpoint is a breakpoint
indicates type of data
number of dataType elements in watched region
message recorded on most recent hit of watchpoint
indicates whether to break on read, write, or any access to watchpoint
location in memory
number of times a thread reads the watchpoint
reference type of watchpoint
size of watched region in bytes
std::string trace::InteractiveDebugger::Watchpoint::symbol |
symbol name (assumes reference == Symbol)
filters on a particular thread
state space of watchpoint
number of times a thread writes to the watchpoint