neuray API Programmer's Manual

inetwork_statistics.h File Reference

Description

Interface to inquire network statistics.

Code Example

inetwork_statistics.h

‎//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************

#ifndef MI_NEURAYLIB_INETWORK_STATISTICS_H
#define MI_NEURAYLIB_INETWORK_STATISTICS_H

#include <mi/base/interface_declare.h>

namespace mi {

namespace neuraylib {


class INetwork_statistics : public
    mi::base::Interface_declare<0xf3706973,0x2dbf,0x45ff,0xb1,0x99,0xcf,0x66,0x09,0x41,0x5e,0xc0>
{
public:
    virtual Uint64 
               get_calculated_send_bandwidth( Uint32 host_id = 0) const = 0;

    virtual Uint64 
               get_current_send_bandwidth( Uint32 host_id = 0) const = 0;

    virtual Float64 
               get_loss_rate( Uint32 host_id = 0) const = 0;

    virtual Uint64 
               get_nr_of_nacked_packets( Uint32 host_id = 0) const = 0;

    virtual Float64 
               get_last_seen( Uint32 host_id) const = 0;

    virtual Uint64 
               get_received_bytes() const = 0;

    virtual Uint64 
               get_sent_bytes() const = 0;
};
 // end group mi_neuray_configuration

} // namespace neuraylib

} // namespace mi

#endif // MI_NEURAYLIB_INETWORK_STATISTICS_H

Namespaces

namespace 
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
namespace 
Namespace for the neuray API. More...

Classes

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