Jitrino.ProfilingInterface Class Reference

#include <EMInterface.h>

List of all members.

Public Types

typedef void PC_Callback_Fn (Method_Profile_Handle)

Public Member Functions

PC_Handle getPCHandle (ProfileType type) const
EM_ProfileAccessInterface * getEMProfileAccessInterface () const
MethodProfilegetMethodProfile (MemoryManager &mm, ProfileType type, MethodDesc &md, JITProfilingRole role=JITProfilingRole_USE) const
Method_Profile_Handle getMethodProfileHandle (ProfileType type, MethodDesc &md) const
EM_PCTYPE getProfileType (PC_Handle pc) const
bool hasMethodProfile (ProfileType type, MethodDesc &md, JITProfilingRole role=JITProfilingRole_USE) const
bool enableProfiling (PC_Handle pc, JITProfilingRole role)
bool isProfilingEnabled (ProfileType pcType, JITProfilingRole jitRole) const
uint32 getProfileMethodCount (MethodDesc &md, JITProfilingRole role=JITProfilingRole_USE) const
EntryBackedgeMethodProfilecreateEBMethodProfile (MemoryManager &mm, MethodDesc &md)
bool isEBProfilerInSyncMode () const
PC_Callback_FngetEBProfilerSyncModeCallback () const
EdgeMethodProfilecreateEdgeMethodProfile (MemoryManager &mm, MethodDesc &md, uint32 numEdgeCounters, uint32 *counterKeys, uint32 checkSum)
uint32 getMethodEntryThreshold () const
uint32 getBackedgeThreshold () const
EntryBackedgeMethodProfilegetEBMethodProfile (MemoryManager &mm, MethodDesc &md, JITProfilingRole role=JITProfilingRole_USE) const
EdgeMethodProfilegetEdgeMethodProfile (MemoryManager &mm, MethodDesc &md, JITProfilingRole role=JITProfilingRole_USE) const
ValueMethodProfilecreateValueMethodProfile (MemoryManager &mm, MethodDesc &md, uint32 numKeys, uint32 *Keys)
ValueMethodProfilegetValueMethodProfile (MemoryManager &mm, MethodDesc &md, JITProfilingRole role=JITProfilingRole_USE) const
 ProfilingInterface (EM_Handle _em, JIT_Handle _jit, EM_ProfileAccessInterface *emProfileAccess)


Member Typedef Documentation

typedef void Jitrino.ProfilingInterface.PC_Callback_Fn(Method_Profile_Handle)


Constructor & Destructor Documentation

Jitrino.ProfilingInterface.ProfilingInterface ( EM_Handle  _em,
JIT_Handle  _jit,
EM_ProfileAccessInterface *  emProfileAccess 
)


Member Function Documentation

PC_Handle Jitrino.ProfilingInterface.getPCHandle ( ProfileType  type  )  const

EM_ProfileAccessInterface* Jitrino.ProfilingInterface.getEMProfileAccessInterface (  )  const

MethodProfile* Jitrino.ProfilingInterface.getMethodProfile ( MemoryManager &  mm,
ProfileType  type,
MethodDesc md,
JITProfilingRole  role = JITProfilingRole_USE 
) const

Method_Profile_Handle Jitrino.ProfilingInterface.getMethodProfileHandle ( ProfileType  type,
MethodDesc md 
) const

EM_PCTYPE Jitrino.ProfilingInterface.getProfileType ( PC_Handle  pc  )  const

bool Jitrino.ProfilingInterface.hasMethodProfile ( ProfileType  type,
MethodDesc md,
JITProfilingRole  role = JITProfilingRole_USE 
) const

bool Jitrino.ProfilingInterface.enableProfiling ( PC_Handle  pc,
JITProfilingRole  role 
)

bool Jitrino.ProfilingInterface.isProfilingEnabled ( ProfileType  pcType,
JITProfilingRole  jitRole 
) const

uint32 Jitrino.ProfilingInterface.getProfileMethodCount ( MethodDesc md,
JITProfilingRole  role = JITProfilingRole_USE 
) const

EntryBackedgeMethodProfile* Jitrino.ProfilingInterface.createEBMethodProfile ( MemoryManager &  mm,
MethodDesc md 
)

bool Jitrino.ProfilingInterface.isEBProfilerInSyncMode (  )  const

PC_Callback_Fn* Jitrino.ProfilingInterface.getEBProfilerSyncModeCallback (  )  const

EdgeMethodProfile* Jitrino.ProfilingInterface.createEdgeMethodProfile ( MemoryManager &  mm,
MethodDesc md,
uint32  numEdgeCounters,
uint32 *  counterKeys,
uint32  checkSum 
)

uint32 Jitrino.ProfilingInterface.getMethodEntryThreshold (  )  const

uint32 Jitrino.ProfilingInterface.getBackedgeThreshold (  )  const

EntryBackedgeMethodProfile* Jitrino.ProfilingInterface.getEBMethodProfile ( MemoryManager &  mm,
MethodDesc md,
JITProfilingRole  role = JITProfilingRole_USE 
) const

EdgeMethodProfile* Jitrino.ProfilingInterface.getEdgeMethodProfile ( MemoryManager &  mm,
MethodDesc md,
JITProfilingRole  role = JITProfilingRole_USE 
) const

ValueMethodProfile* Jitrino.ProfilingInterface.createValueMethodProfile ( MemoryManager &  mm,
MethodDesc md,
uint32  numKeys,
uint32 *  Keys 
)

ValueMethodProfile* Jitrino.ProfilingInterface.getValueMethodProfile ( MemoryManager &  mm,
MethodDesc md,
JITProfilingRole  role = JITProfilingRole_USE 
) const


The documentation for this class was generated from the following file:

Genereated on Tue Mar 11 19:25:40 2008 by Doxygen.

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.