ANTAREX API

Clava API

LARA API

LARA Common Language API

(.js)
laraImport("clava.stats.StaticOpsCounter");

(.lara)
import clava.stats.StaticOpsCounter;

StaticOpsCounter

Constructor

StaticOpsCounter

new StaticOpsCounter([filterFunction = undefined])

Instruments an application so that it counts total operations in a region of code.

Parameters

filterFunction: function - Function that receives an $op. If returns false, $op will not be counted. (optional)

Instance Members

count

count($function, opsBlock, includeOpKind)

Parameters

$function: any
opsBlock: any
includeOpKind: any

Global Functions

analyseIterationsExpr

analyseIterationsExpr($expr, $source)

Parameters

$expr: any
$source: any

getLastWrite

getLastWrite($currentJp, $vardecl)

Parameters

$currentJp: any
$vardecl: any