NVIDIA IndeX API nvidia_logo_transpbg.gif Up
ibalancing_operations.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright 2023 NVIDIA Corporation. All rights reserved.
3 *****************************************************************************/
6
7#ifndef NVIDIA_INDEX_IBALANCING_OPERATIONS_H
8#define NVIDIA_INDEX_IBALANCING_OPERATIONS_H
9
10#include <mi/base/types.h>
11#include <mi/dice.h>
12#include <mi/base/interface_declare.h>
13
14namespace nv
15{
16namespace index
17{
18
26 public mi::base::Interface_declare<0x3eec45f1,0x171f,0x4259,0xb1,0xef,0xfd,0x6f,0xae,0xef,0x9b,0xab>
27{
28public:
33 virtual const char* get_description() const = 0;
34};
35
37class IReassignment_operation :
38 public mi::base::Interface_declare<0xa09228d8,0x46d9,0x4c68,0xb9,0xdc,0xae,0xba,0x3e,0xb4,0x13,0xb9,
39 nv::index::IBalancing_operation>
40{
41};
42
44class IMerge_operation :
45 public mi::base::Interface_declare<0xb5ad623b,0xc47f,0x483e,0x99,0xea,0x41,0x58,0x47,0xea,0xa5,0x2b,
46 nv::index::IBalancing_operation>
47{
48};
49
51class ISplit_operation :
52 public mi::base::Interface_declare<0x7c4a3ac0,0x519d,0x461d,0xbe,0x8a,0x20,0x71,0x7f,0x73,0x52,0x43,
53 nv::index::IBalancing_operation>
54{
55};
56
62 public mi::base::Interface_declare<0xe65365e8,0x52ed,0x4874,0xbd,0x73,0x1c,0xd8,0x26,0xdf,0x1a,0x5a>
63{
64public:
69 virtual const char* get_event_description() const = 0;
70
75 virtual mi::Uint32 get_nb_operation() const = 0;
76
87 virtual const IBalancing_operation* get_operation(mi::Uint32 idx) const = 0;
88};
89
90}} // namespace index / nv
91
92#endif // NVIDIA_INDEX_IBALANCING_OPERATIONS_H
The interface class for all balancing operations generated by NVIDIA IndeX when redistributing worklo...
Definition: ibalancing_operations.h:27
virtual const char * get_description() const =0
Returns a descriptive string detailing the balancing operation.
This class serves as a collection of all workload balancing operations that occurred and the NVIDIA I...
Definition: ibalancing_operations.h:63
virtual const char * get_event_description() const =0
Returns a descriptive string detailing the balancing operation.
virtual mi::Uint32 get_nb_operation() const =0
Returns the number of workload balancing operations.
virtual const IBalancing_operation * get_operation(mi::Uint32 idx) const =0
Allows accessing each instances of IBalancing_operation interfaces that are exposed.
Common namespace for all NVIDIA APIs.
Definition: iindex.h:349