libmsr  0.3.0
A friendlier interface to accessing MSRs on Intel platforms
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
Public Attributes | List of all members
csr_batch_op Struct Reference

Structure holding information for a single read/write operation to an uncore register. More...

#include <csr_core.h>

Public Attributes

uint8_t bus
 Bus identifier where read/write of uncore register will be executed.
 
uint8_t device
 Device identifier where read/write of uncore register will be executed.
 
uint8_t function
 Function identifier where read/write of uncore register will be executed.
 
uint8_t socket
 Socket identifier where read/write of uncore register will be executed.
 
uint16_t offset
 Address of uncore register to perform operation.
 
int err
 Stores error code.
 
uint8_t isread
 Identify if operation is read (non-zero) or write (0).
 
uint64_t csrdata
 Stores input to or result from operation.
 
uint64_t wmask
 Write mask applied to uncore register.
 
uint8_t size
 Number of batch operations.
 

Detailed Description

Structure holding information for a single read/write operation to an uncore register.

Member Data Documentation

uint8_t csr_batch_op::bus

Bus identifier where read/write of uncore register will be executed.

uint64_t csr_batch_op::csrdata

Stores input to or result from operation.

uint8_t csr_batch_op::device

Device identifier where read/write of uncore register will be executed.

int csr_batch_op::err

Stores error code.

uint8_t csr_batch_op::function

Function identifier where read/write of uncore register will be executed.

uint8_t csr_batch_op::isread

Identify if operation is read (non-zero) or write (0).

uint16_t csr_batch_op::offset

Address of uncore register to perform operation.

uint8_t csr_batch_op::size

Number of batch operations.

uint8_t csr_batch_op::socket

Socket identifier where read/write of uncore register will be executed.

uint64_t csr_batch_op::wmask

Write mask applied to uncore register.


The documentation for this struct was generated from the following file: