Google Cloud Chronicle Client - Class Srum (0.9.0)

Reference documentation and code samples for the Google Cloud Chronicle Client class Srum.

The Srum extension captures details specific to Windows System Resource Usage Monitor (SRUM) events.

Generated from protobuf message google.backstory.Srum

Namespace

Google \ Backstory

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ id string

A unique identifier for the SRUM record or the application/user being monitored.

↳ background_bytes_read int|string

The number of bytes read by the application while running in the background.

↳ background_bytes_written int|string

The number of bytes written by the application while running in the background.

↳ background_context_switches int|string

The number of context switches performed by the application's threads while in the background.

↳ background_cycle_count int|string

The amount of CPU cycle time consumed by the application in the background, measured in clock cycles.

↳ background_flushes_count int|string

The number of flush operations performed by the application in the background.

↳ background_read_operations int|string

The number of read operations performed by the application in the background.

↳ background_write_operations int|string

The number of write operations performed by the application in the background.

↳ interface_luid string

The Locally Unique Identifier (LUID) for the network interface used for data transfer.

getId

A unique identifier for the SRUM record or the application/user being monitored.

Returns
Type Description
string

setId

A unique identifier for the SRUM record or the application/user being monitored.

Parameter
Name Description
var string
Returns
Type Description
$this

getBackgroundBytesRead

The number of bytes read by the application while running in the background.

Returns
Type Description
int|string

setBackgroundBytesRead

The number of bytes read by the application while running in the background.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getBackgroundBytesWritten

The number of bytes written by the application while running in the background.

Returns
Type Description
int|string

setBackgroundBytesWritten

The number of bytes written by the application while running in the background.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getBackgroundContextSwitches

The number of context switches performed by the application's threads while in the background.

Returns
Type Description
int|string

setBackgroundContextSwitches

The number of context switches performed by the application's threads while in the background.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getBackgroundCycleCount

The amount of CPU cycle time consumed by the application in the background, measured in clock cycles.

Returns
Type Description
int|string

setBackgroundCycleCount

The amount of CPU cycle time consumed by the application in the background, measured in clock cycles.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getBackgroundFlushesCount

The number of flush operations performed by the application in the background.

Returns
Type Description
int|string

setBackgroundFlushesCount

The number of flush operations performed by the application in the background.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getBackgroundReadOperations

The number of read operations performed by the application in the background.

Returns
Type Description
int|string

setBackgroundReadOperations

The number of read operations performed by the application in the background.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getBackgroundWriteOperations

The number of write operations performed by the application in the background.

Returns
Type Description
int|string

setBackgroundWriteOperations

The number of write operations performed by the application in the background.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getInterfaceLuid

The Locally Unique Identifier (LUID) for the network interface used for data transfer.

Returns
Type Description
string

setInterfaceLuid

The Locally Unique Identifier (LUID) for the network interface used for data transfer.

Parameter
Name Description
var string
Returns
Type Description
$this