LIKWID
Information about LIKWID's Lua API

How to include Lua API into own Lua applications

package.path = package.path .. ';/usr/local/share/lua/?.lua'
local likwid = require("likwid")

Now all function and variables can be called with
likwid.functionname()
or
likwid.variable

Global variables defined by LIKWID's Lua API

Variablename Description
groupfolder Path to the folder containing the definitions of the performance groups
version Version of LIKWID
release Release number of LIKWID
pinlibpath Path to the pinning library. Is added automatically to $LD_PRELOAD by likwid-pin and likwid-perfctr
hline Horizontal line with 80 '-' characters
sline Horizontal line with 80 '*' characters
dline Horizontal line with 80 '=' characters

*/

/*!