GPUOcelot
Public Types | Public Member Functions | Public Attributes

trace::InteractiveDebugger::Watchpoint Class Reference

watchpoint datastructure More...

#include <InteractiveDebugger.h>

Collaboration diagram for trace::InteractiveDebugger::Watchpoint:
Collaboration graph
[legend]

List of all members.

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
InteractiveDebuggerdebugger
 debugger
std::string hitMessage
 message recorded on most recent hit of watchpoint

Detailed Description

watchpoint datastructure


Member Enumeration Documentation

Enumerator:
Any_access 
Read_access 
Write_access 
Unknown_access 
Enumerator:
Address 
Symbol 
Unknown_reference 
Enumerator:
Register_location 
Global_location 
Shared_location 
Param_location 
Texture_location 
Local_location 
Unknown_location 

Constructor & Destructor Documentation

trace::InteractiveDebugger::Watchpoint::Watchpoint ( )

Member Function Documentation

bool trace::InteractiveDebugger::Watchpoint::test ( const trace::TraceEvent event)

tests an event against a watch point and returns true if it hit


Member Data Documentation

if true, watchpoint is a breakpoint

indicates type of data

debugger

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

symbol name (assumes reference == Symbol)

filters on a particular thread

state space of watchpoint

number of times a thread writes to the watchpoint


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines