Performancectrmaskwrite – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual

Page 53

Advertising
background image

Methods of the IGCGenerator Class

Classes of the C++ Interface

CATC IBTrainer InfiniBand Exerciser API Reference

2-31

PerformanceCtrMaskWrite

PerformanceCtrMaskWrite

void PerformanceCtrMaskWrite(IN ig_bool direction,

IN ig_int8

ctrNum, IN ig_int16 ctrMask);

Writes the mask on which VLs the performance counter counts. The
performance measurement must not run when using this command.

None

direction

(indicates if this is the mask for VLs for the outgoing (Xmit) or incoming
(Rcve) packets)

- Xmit

- Rcve

ctrNum

- PerfCtr1

- PerfCtr2

ctrMask

The LSB represents VL0 and the MSB represents VL15. If a bit is set to
1, the packets on the virtual lane are included in the count.

PerformanceCtrMaskRead

See also

Call

Description

Return Value

Input Parameters

See also

Advertising