![]() |
SolarCapture C Bindings User Guide
SF-115721-CD
Issue 3
|
Simulate doing CPU intensive work on each packet.
Simulate the behaviour of a node that performs CPU intensive work on the packets it handles.
| Argument | Optional? | Default | Type | Description |
|---|---|---|---|---|
| per_packet_ns | Yes | 0 | SC_PARAM_INT | Amount of per-packet work |
| per_batch_ns | Yes | 0 | SC_PARAM_INT | Amount of per-batch work |
| touch_wrapper | Yes | 0 | SC_PARAM_INT | Whether to touch per-packet wrapper |
| touch_payload | Yes | 0 | SC_PARAM_INT | Whether to read frame data |