c

vexiiriscv.misc

PerformanceCounterPlugin

class PerformanceCounterPlugin extends FiberPlugin with PerformanceCounterService

This plugin implement the performance counters in a very tricky way to save area. The RISC-V spec specified 64 bits per counter, and that is kinda expensive to implement FPGA. So in this implementation, Only 8 bits registers are used for each counters, which are flushed into their 64 bits CSR ram when their MSB is set

To figure out the actual performance events implement in VexiiRIscv, look at vexiiriscv.misc.PerformanceCounterService

Linear Supertypes
PerformanceCounterService, FiberPlugin, Hostable, Area, OverridedEqualsHashCode, ValCallbackRec, ValCallback, NameableByComponent, Nameable, ContextUser, ScalaLocated, GlobalDataUser, OwnableRef, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PerformanceCounterPlugin
  2. PerformanceCounterService
  3. FiberPlugin
  4. Hostable
  5. Area
  6. OverridedEqualsHashCode
  7. ValCallbackRec
  8. ValCallback
  9. NameableByComponent
  10. Nameable
  11. ContextUser
  12. ScalaLocated
  13. GlobalDataUser
  14. OwnableRef
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PerformanceCounterPlugin(additionalCounterCount: Int, bufferWidth: Int = 8)

Type Members

  1. abstract type RefOwnerType
    Definition Classes
    OwnableRef
  2. case class Spec(id: Int, event: Bool) extends Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val _context: Capture
    Definition Classes
    Area
  5. def addService[T](that: T): T
    Definition Classes
    FiberPlugin
  6. var additionalCounterCount: Int
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def awaitBuild(): Unit
    Definition Classes
    FiberPlugin
  9. var bufferWidth: Int
  10. def buildBefore(l: ⇒ Lock): Unit
    Definition Classes
    FiberPlugin
  11. var buildCount: Int
    Definition Classes
    FiberPlugin
  12. def childNamePriority: Byte
    Definition Classes
    Area
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  14. def component: Component
    Definition Classes
    ContextUser
  15. def counterCount: Int
  16. def createEventPort(id: Int): Bool
  17. def createEventPort(id: Int, drive: Bool): Bool
    Definition Classes
    PerformanceCounterService
  18. def during: AnyRef { ... /* 2 definitions in type refinement */ }
    Definition Classes
    FiberPlugin
  19. val elaborationLock: Retainer
    Definition Classes
    PerformanceCounterService
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(obj: Any): Boolean
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  22. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit
    Definition Classes
    Nameable
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  24. def getDisplayName(): String
    Definition Classes
    Nameable
  25. def getInstanceCounter: Int
    Definition Classes
    ContextUser
  26. def getMode: Byte
    Attributes
    protected
    Definition Classes
    Nameable
  27. def getName(default: String): String
    Definition Classes
    NameableByComponent → Nameable
  28. def getName(): String
    Definition Classes
    NameableByComponent → Nameable
  29. def getPartialName(): String
    Definition Classes
    Nameable
  30. def getPath(from: Component, to: Component): Seq[Component]
    Definition Classes
    NameableByComponent
  31. def getRefOwnersChain(): List[Any]
    Definition Classes
    OwnableRef
  32. def getScalaLocationLong: String
    Definition Classes
    ScalaLocated
  33. def getScalaLocationShort: String
    Definition Classes
    ScalaLocated
  34. def getScalaTrace(): Throwable
    Definition Classes
    ScalaLocated
  35. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  36. def hashCode(): Int
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  37. var host: PluginHost
    Definition Classes
    FiberPlugin
  38. val hostLock: Lock
    Definition Classes
    FiberPlugin
  39. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  40. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  41. final def isNamed: Boolean
    Definition Classes
    Nameable
  42. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  43. def isUnnamed: Boolean
    Definition Classes
    NameableByComponent → Nameable
  44. val lockables: LinkedHashSet[() ⇒ Lock]
    Definition Classes
    FiberPlugin
  45. val logic: Handle[Area { ... /* 32 definitions in type refinement */ }]
  46. val name: String
    Definition Classes
    Nameable
  47. val nameableRef: Nameable
    Attributes
    protected
    Definition Classes
    Nameable
    Annotations
    @DontName()
  48. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  49. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  50. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  51. def overrideLocalName(name: String): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  52. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  53. var pluginEnabled: Boolean
    Definition Classes
    FiberPlugin
  54. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  55. def reflectNames(): Unit
    Definition Classes
    Nameable
  56. def retains(head: Any, tail: Any*): RetainerGroup
    Definition Classes
    FiberPlugin
  57. def retains(that: Seq[Any]): RetainerGroup
    Definition Classes
    FiberPlugin
  58. def rework[T](body: ⇒ T): T
    Definition Classes
    Area
  59. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  60. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  61. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  62. def setCompositeName(nameable: Nameable, postfix: String): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  63. def setCompositeName(nameable: Nameable, namePriority: Byte): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  64. def setCompositeName(nameable: Nameable, weak: Boolean): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  65. def setCompositeName(nameable: Nameable): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  66. def setHost(h: PluginHost): Unit
    Definition Classes
    FiberPlugin → Hostable
  67. def setLambdaName(isNameBody: ⇒ Boolean)(nameGen: ⇒ String): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  68. def setName(name: String, namePriority: Byte): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  69. def setName(name: String, weak: Boolean): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  70. def setName(name: String): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  71. def setNameAsWeak(): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  72. def setPartialName(name: String, namePriority: Byte, owner: Any): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  73. def setPartialName(name: String, namePriority: Byte): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  74. def setPartialName(name: String, weak: Boolean): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  75. def setPartialName(owner: Nameable, name: String, namePriority: Byte): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  76. def setPartialName(owner: Nameable, name: String, weak: Boolean): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  77. def setPartialName(name: String): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  78. def setPartialName(owner: Nameable, name: String): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  79. def setPartialName(owner: Nameable): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  80. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  81. def setScalaLocated(source: ScalaLocated): PerformanceCounterPlugin.this.type
    Definition Classes
    ScalaLocated
  82. def setWeakName(name: String): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  83. def setupRetain(l: ⇒ Lock): Unit
    Definition Classes
    FiberPlugin
  84. val specs: ArrayBuffer[Spec]
  85. val subservices: ArrayBuffer[Any]
    Definition Classes
    FiberPlugin
  86. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  87. def toString(): String
    Definition Classes
    Area → Nameable → AnyRef → Any
  88. def unsetName(): PerformanceCounterPlugin.this.type
    Definition Classes
    Nameable
  89. def valCallback[T](ref: T, name: String): T
    Definition Classes
    ValCallbackRec → ValCallback
  90. def valCallbackOn(ref: Any, name: String, refs: Set[Any]): Unit
    Definition Classes
    ValCallbackRec
  91. def valCallbackRec(obj: Any, name: String): Unit
    Definition Classes
    Area → ValCallbackRec
  92. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  93. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  94. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  95. def withPrefix(prefix: String): FiberPlugin
    Definition Classes
    FiberPlugin

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from PerformanceCounterService

Inherited from FiberPlugin

Inherited from Hostable

Inherited from Area

Inherited from OverridedEqualsHashCode

Inherited from ValCallbackRec

Inherited from ValCallback

Inherited from NameableByComponent

Inherited from Nameable

Inherited from ContextUser

Inherited from ScalaLocated

Inherited from GlobalDataUser

Inherited from OwnableRef

Inherited from AnyRef

Inherited from Any

Ungrouped