NVIDIA Iray API Home  Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::neuraylib::INetwork_statistics Class Referenceabstract

This interface is used to inquire statistics about the network usage etc. More...

Inheritance diagram for mi::neuraylib::INetwork_statistics:
Inheritance graph
[legend]

Public Member Functions

virtual Uint64  get_calculated_send_bandwidth (Uint32 host_id=0) const =0
  Returns the calculated send bandwidth towards a given host. More...
 
virtual Uint64  get_current_send_bandwidth (Uint32 host_id=0) const =0
  Returns the actual send bandwidth towards a given host. More...
 
virtual Float64  get_loss_rate (Uint32 host_id=0) const =0
  Returns the current loss rate towards a given host. More...
 
virtual Uint64  get_nr_of_nacked_packets (Uint32 host_id=0) const =0
  Returns the number of packets for which a NACK was received for this host. More...
 
virtual Float64  get_last_seen (Uint32 host_id) const =0
  Returns the last time a given host was seen. More...
 
virtual Uint64  get_received_bytes () const =0
  Returns the total number of bytes received so far. More...
 
virtual Uint64  get_sent_bytes () const =0
  Returns the total number of bytes sent so far. More...
 

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0xf3706973, 0x2dbf, 0x45ff, 0xb1, 0x99, 0xcf, 0x66, 0x09, 0x41, 0x5e, 0xc0 >
typedef Interface_declare< id1,
id2, id3, id4, id5, id6, id7,
id8, id9, id10, id11,
IInterface
Self
  Own type. More...
 
typedef Uuid_t< id1, id2, id3,
id4, id5, id6, id7, id8, id9,
id10, id11 > 
IID
  Declares the interface ID (IID) of this interface. More...
 
- Static Public Member Functions inherited from mi::base::Interface_declare< 0xf3706973, 0x2dbf, 0x45ff, 0xb1, 0x99, 0xcf, 0x66, 0x09, 0x41, 0x5e, 0xc0 >
static bool  compare_iid (const Uuid &iid)
  Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
 

Detailed Description

This interface is used to inquire statistics about the network usage etc.

Member Function Documentation

virtual Uint64 mi::neuraylib::INetwork_statistics::get_calculated_send_bandwidth ( Uint32  host_id = 0) const
pure virtual

Returns the calculated send bandwidth towards a given host.

Parameters
host_id The host in question, or 0 for multicast.
Returns
The calculated send bandwidth in bits per second.
virtual Uint64 mi::neuraylib::INetwork_statistics::get_current_send_bandwidth ( Uint32  host_id = 0) const
pure virtual

Returns the actual send bandwidth towards a given host.

Parameters
host_id The host in question, or 0 for multicast.
Returns
The actual send bandwidth in bits per second.
virtual Float64 mi::neuraylib::INetwork_statistics::get_last_seen ( Uint32  host_id) const
pure virtual

Returns the last time a given host was seen.

Parameters
host_id The host in question.
Returns
The time that passed since the host was seen last (in seconds).
virtual Float64 mi::neuraylib::INetwork_statistics::get_loss_rate ( Uint32  host_id = 0) const
pure virtual

Returns the current loss rate towards a given host.

Parameters
host_id The host in question, or 0 for multicast.
Returns
The current loss rate (ratio between lost and all packets).
virtual Uint64 mi::neuraylib::INetwork_statistics::get_nr_of_nacked_packets ( Uint32  host_id = 0) const
pure virtual

Returns the number of packets for which a NACK was received for this host.

Parameters
host_id The host in question, or 0 for multicast.
Returns
The number of packets for which a NACK was received.
virtual Uint64 mi::neuraylib::INetwork_statistics::get_received_bytes ( ) const
pure virtual

Returns the total number of bytes received so far.

virtual Uint64 mi::neuraylib::INetwork_statistics::get_sent_bytes ( ) const
pure virtual

Returns the total number of bytes sent so far.