Compute Graph Framework SDK Reference  5.22
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-2024 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 256U
47
49// coverity[misra_c_2012_rule_2_4_violation]
50typedef struct dwGraphErrorSignal
51{
53 uint32_t processId;
54
58
60 // coverity[cert_dcl37_c_violation]
61 // coverity[misra_c_2012_rule_21_2_violation]
62 dwErrorSignal signal;
63
66
70
74// coverity[misra_c_2012_rule_2_4_violation]
75typedef struct dwGraphHealthSignal
76{
78 uint32_t processId;
79
83
85 // coverity[cert_dcl37_c_violation]
86 // coverity[misra_c_2012_rule_21_2_violation]
87 dwHealthSignal signal;
88
92
94// coverity[misra_c_2012_rule_2_4_violation]
96{
97 // coverity[cert_dcl37_c_violation]
98 // coverity[misra_c_2012_rule_21_2_violation]
99 dwGraphHealthSignal signal[DW_MAX_HEALTH_SIGNAL_ARRAY_SIZE];
100 uint32_t count;
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.