Compute Graph Framework SDK Reference  5.16
GraphHealthSignal.h
Go to the documentation of this file.
1
2// This code contains NVIDIA Confidential Information and is disclosed
3// under the Mutual Non-Disclosure Agreement.
4//
5// Notice
6// ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS"
7// NVIDIA MAKES NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY,
8// OR OTHERWISE WITH RESPECT TO THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY
9// IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A
10// PARTICULAR PURPOSE.
11//
12// NVIDIA Corporation assumes no responsibility for the consequences of use of
13// such information or for any infringement of patents or other rights of third
14// parties that may result from its use. No license is granted by implication or
15// otherwise under any patent or patent rights of NVIDIA Corporation. No third
16// party distribution is allowed unless expressly authorized by NVIDIA. Details
17// are subject to change without notice. This code supersedes and replaces all
18// information previously supplied. NVIDIA Corporation products are not
19// authorized for use as critical components in life support devices or systems
20// without express written approval of NVIDIA Corporation.
21//
22// Copyright (c) 2016-2023 NVIDIA Corporation. All rights reserved.
23//
24// NVIDIA Corporation and its licensors retain all intellectual property and
25// proprietary rights in and to this software and related documentation and any
26// modifications thereto. Any use, reproduction, disclosure or distribution of
27// this software and related documentation without an express license agreement
28// from NVIDIA Corporation is strictly prohibited.
29//
31#ifndef DWCGF_CORE_DWCGF_COMPUTEGRAPH_GRAPHHEALTHSIGNAL_H_
32#define DWCGF_CORE_DWCGF_COMPUTEGRAPH_GRAPHHEALTHSIGNAL_H_
33// Generated by dwProto from graph_health_signal.proto DO NOT EDIT BY HAND!
34// See //3rdparty/shared/dwproto/README.md for more information
35
36#include <stdbool.h>
37#include <stdint.h>
38
39#include <dw/core/health/HealthSignals.h>
40
41#ifdef __cplusplus
42extern "C" {
43#endif
44
46#define DW_NODE_STATE_MAX_ERROR_STRING_LENGTH 256
47
49// coverity[misra_c_2012_rule_2_3_violation] RFD Pending: TID-2140
50// coverity[misra_c_2012_rule_2_4_violation] RFD Pending: TID-2140
51typedef struct dwGraphErrorSignal
52{
54 uint32_t processId;
55
59
61 dwErrorSignal signal;
62
65
68
69 // coverity[misra_c_2012_rule_2_3_violation] RFD Pending: TID-2140
71
75// coverity[misra_c_2012_rule_2_4_violation] RFD Pending: TID-2140
76typedef struct dwGraphHealthSignal
77{
79 uint32_t processId;
80
84
86 dwHealthSignal signal;
87
91
93// coverity[misra_c_2012_rule_2_3_violation] RFD Pending: TID-2140
94// coverity[misra_c_2012_rule_2_4_violation] RFD Pending: TID-2140
96{
97 dwGraphHealthSignal signal[DW_MAX_HEALTH_SIGNAL_ARRAY_SIZE];
98 uint32_t count;
99
100 // coverity[misra_c_2012_rule_2_3_violation] RFD Pending: TID-2140
102
103#ifdef __cplusplus
104}
105#endif
106
107#endif // DWCGF_CORE_DWCGF_COMPUTEGRAPH_GRAPHHEALTHSIGNAL_H_
dwHealthSignal signal
The DW health signal.
bool silenced
silenced from sending to seh
dwErrorSignal signal
the DW error signal
#define DW_NODE_STATE_MAX_ERROR_STRING_LENGTH
The maximum length of the "source" string for a signal.
uint32_t iterationCount
iteration count
uint32_t iterationCount
iteration count
uint32_t processId
the PID that the node is executing in
uint32_t processId
the PID that the node is executing in
uint32_t count
Stores the occupied/valid length of signal.
char8_t source[DW_NODE_STATE_MAX_ERROR_STRING_LENGTH]
char8_t source[DW_NODE_STATE_MAX_ERROR_STRING_LENGTH]
dwGraphHealthSignal signal[DW_MAX_HEALTH_SIGNAL_ARRAY_SIZE]
Basic error signal that gets reported only when there is an error.
Basic health signal that describes the health status of the graph.
Represents an array of health signals.