LIKWID
Functions
Thermal monitoring module

Functions

void thermal_init (int cpuId) __attribute__((visibility("default")))
 Initialize thermal measurements on specific CPU. More...
 
int thermal_read (int cpuId, uint32_t *data) __attribute__((visibility("default")))
 Read the current thermal value. More...
 
int thermal_tread (int socket_fd, int cpuId, uint32_t *data) __attribute__((visibility("default")))
 Read the current thermal value using a specific communication socket. More...
 

Detailed Description

Function Documentation

void thermal_init ( int  cpuId)

Initialize thermal measurements on specific CPU.

Parameters
[in]cpuIdInitialize thermal facility for this CPU
int thermal_read ( int  cpuId,
uint32_t *  data 
)

Read the current thermal value.

Parameters
[in]cpuIdRead thermal facility for this CPU
[out]dataThermal data
int thermal_tread ( int  socket_fd,
int  cpuId,
uint32_t *  data 
)

Read the current thermal value using a specific communication socket.

Parameters
[in]socket_fdCommunication socket for the read operation
[in]cpuIdRead thermal facility for this CPU
[out]dataThermal data