Iray SDK API nvidia_logo_transpbg.gif Up
inetwork_statistics.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2024 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_INETWORK_STATISTICS_H
8#define MI_NEURAYLIB_INETWORK_STATISTICS_H
9
11
12namespace mi {
13
14namespace neuraylib {
15
21class INetwork_statistics : public
22 mi::base::Interface_declare<0xf3706973,0x2dbf,0x45ff,0xb1,0x99,0xcf,0x66,0x09,0x41,0x5e,0xc0>
23{
24public:
29 virtual Uint64 get_calculated_send_bandwidth( Uint32 host_id = 0) const = 0;
30
35 virtual Uint64 get_current_send_bandwidth( Uint32 host_id = 0) const = 0;
36
41 virtual Float64 get_loss_rate( Uint32 host_id = 0) const = 0;
42
47 virtual Uint64 get_nr_of_nacked_packets( Uint32 host_id = 0) const = 0;
48
53 virtual Float64 get_last_seen( Uint32 host_id) const = 0;
54
56 virtual Uint64 get_received_bytes() const = 0;
57
59 virtual Uint64 get_sent_bytes() const = 0;
60
62 virtual Uint64 get_rdma_sent_bytes() const = 0;
63
65 virtual Uint64 get_rdma_received_bytes() const = 0;
66};
67 // end group mi_neuray_configuration
69
70} // namespace neuraylib
71
72} // namespace mi
73
74#endif // MI_NEURAYLIB_INETWORK_STATISTICS_H
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
This interface is used to inquire statistics about the network usage etc.
Definition: inetwork_statistics.h:23
virtual Float64 get_last_seen(Uint32 host_id) const =0
Returns the last time a given host was seen.
virtual Uint64 get_rdma_received_bytes() const =0
Returns the total number of bytes received as RDMA.
virtual Uint64 get_current_send_bandwidth(Uint32 host_id=0) const =0
Returns the actual send bandwidth towards a given host.
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.
virtual Float64 get_loss_rate(Uint32 host_id=0) const =0
Returns the current loss rate towards a given host.
virtual Uint64 get_received_bytes() const =0
Returns the total number of bytes received so far.
virtual Uint64 get_rdma_sent_bytes() const =0
Returns the total number of bytes sent as RDMA.
virtual Uint64 get_sent_bytes() const =0
Returns the total number of bytes sent so far.
virtual Uint64 get_calculated_send_bandwidth(Uint32 host_id=0) const =0
Returns the calculated send bandwidth towards a given host.
unsigned long long Uint64
64-bit unsigned integer.
Definition: types.h:62
unsigned int Uint32
32-bit unsigned integer.
Definition: types.h:49
double Float64
64-bit float.
Definition: types.h:52
Mixin class template for deriving new interface declarations.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: neuraylib.h:179