NT_StatOpen

Reference Documentation

product_line_custom
Napatech SmartNIC
category
Reference Information
int NT_StatOpen ( NtStatStream_t * hStatStream,
    const char * name
  )    

Opens a statistics stream.

This function is called to retrieve a handle to a statistics stream

Parameters

[out] hStatStream

Reference to a NtStatStream_t stream pointer

[in] name

Stream friendly name - used in, for example, logging statements

Return values

0

Success

!=0

Error

Definition at line 368 of file stream_statistics.h.

Referenced by main().