flowmatch_example_flowstat.cpp

Reference Documentation

product_line_custom
IntelĀ® PAC
Napatech SmartNIC
category
Reference Information
Napatech Software Suite: examples/flowmatch/flowmatch_example_flowstat.cpp File Reference
flowmatch_example_flowstat.cpp File Reference
#include <iostream>
#include <nt.h>
#include "flowmatch_example_helper.h"
#include "flowmatch_example_flowstat.h"

Go to the source code of this file.

Functions

void openAndClearFlowStats (NtStatStream_t &hStatStream)
 
void printAndCloseFlowStats (NtStatStream_t &hStatStream)
 

Function Documentation

void openAndClearFlowStats ( NtStatStream_t hStatStream)

Opens a statistics stream and read from it once with the clear flag set to 1.

Examples:
flowmatch/flowmatch_example_main.cpp.

Definition at line 52 of file flowmatch_example_flowstat.cpp.

Referenced by main().

void printAndCloseFlowStats ( NtStatStream_t hStatStream)

Read from an open statistics stream and print the data. Then close the stream.

Examples:
flowmatch/flowmatch_example_main.cpp.

Definition at line 69 of file flowmatch_example_flowstat.cpp.

Referenced by main().