Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Tb_entry Class Reference

#include <tb_entry.h>

Inheritance diagram for Tb_entry:

Tb_entry_bp Tb_entry_ctx_sw Tb_entry_ex_regs Tb_entry_fit Tb_entry_ipc Tb_entry_ipc_res Tb_entry_ipc_sfl Tb_entry_ipc_trace Tb_entry_jean1 Tb_entry_ke Tb_entry_ke_reg Tb_entry_lipc Tb_entry_pf Tb_entry_pf_res Tb_entry_preemption Tb_entry_sched Tb_entry_task_new Tb_entry_trap Tb_entry_unmap List of all members.

Public Types

enum  { Tb_entry_size = 64 }

Public Member Functions

void clear ()
void hide ()
void unhide ()
Address ip () const
Contextctx () const
Unsigned8 type () const
int hidden () const
Mword number () const
void number (Mword number)
void rdpmc1 ()
void rdpmc2 ()
Unsigned32 kclock () const
Unsigned64 tsc () const
Unsigned32 pmc1 () const
Unsigned32 pmc2 () const
void rdtsc ()

Static Public Member Functions

static void set_rdcnt (int num, Mword(*f)())

Protected Member Functions

void set_global (char type, Context *ctx, Address ip)

Protected Attributes

Mword _number
 event number
Address _ip
 instruction pointer
Context_ctx
 Context.
Unsigned64 _tsc
 time stamp counter
Unsigned32 _pmc1
 performance counter value 1
Unsigned32 _pmc2
 performance counter value 2
Unsigned32 _kclock
 lower 32 bits of kernel clock
Unsigned8 _type
 type of entry

Static Protected Attributes

static Mword(* rdcnt1 )() = dummy_read_pmc
static Mword(* rdcnt2 )() = dummy_read_pmc

Static Private Member Functions

static Mword dummy_read_pmc ()

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
Tb_entry_size 


Member Function Documentation

void Tb_entry::clear  )  [inline]
 

Context * Tb_entry::ctx  )  const [inline]
 

Mword Tb_entry::dummy_read_pmc  )  [static, private]
 

int Tb_entry::hidden  )  const [inline]
 

void Tb_entry::hide  )  [inline]
 

Address Tb_entry::ip  )  const [inline]
 

Unsigned32 Tb_entry::kclock  )  const [inline]
 

void Tb_entry::number Mword  number  )  [inline]
 

Mword Tb_entry::number  )  const [inline]
 

Unsigned32 Tb_entry::pmc1  )  const [inline]
 

Unsigned32 Tb_entry::pmc2  )  const [inline]
 

void Tb_entry::rdpmc1  )  [inline]
 

void Tb_entry::rdpmc2  )  [inline]
 

void Tb_entry::rdtsc  )  [inline]
 

void Tb_entry::set_global char  type,
Context ctx,
Address  ip
[inline, protected]
 

void Tb_entry::set_rdcnt int  num,
Mword(*)()  f
[static]
 

Unsigned64 Tb_entry::tsc  )  const [inline]
 

Unsigned8 Tb_entry::type  )  const [inline]
 

Reimplemented in Tb_entry_lipc.

void Tb_entry::unhide  )  [inline]
 


Member Data Documentation

Context* Tb_entry::_ctx [protected]
 

Context.

Address Tb_entry::_ip [protected]
 

instruction pointer

Unsigned32 Tb_entry::_kclock [protected]
 

lower 32 bits of kernel clock

Mword Tb_entry::_number [protected]
 

event number

Unsigned32 Tb_entry::_pmc1 [protected]
 

performance counter value 1

Unsigned32 Tb_entry::_pmc2 [protected]
 

performance counter value 2

Unsigned64 Tb_entry::_tsc [protected]
 

time stamp counter

Unsigned8 Tb_entry::_type [protected]
 

type of entry

Reimplemented in Tb_entry_lipc.

Mword(* Tb_entry::rdcnt1 = dummy_read_pmc [static, protected]
 

Mword(* Tb_entry::rdcnt2 = dummy_read_pmc [static, protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Sep 26 14:20:17 2005 for Fiasco by  doxygen 1.4.2