ANTAREX API

Clava API

LARA API

LARA Common Language API

(.js)
laraImport("antarex.margot.config.monitor.MargotEnergyMonitor");

(.lara)
import antarex.margot.config.monitor.MargotEnergyMonitor;

MargotEnergyMonitor

Constructor

MargotEnergyMonitor

new MargotEnergyMonitor(name)

(Extends MargotMonitor)
This class represents an energy monitor.

We can define the domain in which the energy is measured.

Parameters

name: string - the name of this monitor

Instance Members

setCores

setCores()

Sets the domain as CORES.


setDomain

setDomain(domain)

Sets the domain to the one provided.

Parameters

domain: MargotEnergyDomain - the new domain

setPackage

setPackage()

Sets the domain as PACKAGE.


setRam

setRam()

Sets the domain as RAM.


setUncores

setUncores()

Sets the domain as UNCORES.