NVIDIA DeepStream SDK API Reference

9.0 Release
9.0/sources/includes/nvds_stats.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 #ifndef __NVDS_STATS_H__
13 #define __NVDS_STATS_H__
14 
15 #include <glib.h>
16 #include <nvml.h>
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 gdouble get_ram_usage();
23 gdouble get_cpu_utilization();
24 gdouble get_gpu_memory(guint gpu_id);
25 gdouble get_gpu_utilization(guint gpu_id);
26 
27 #ifdef __cplusplus
28 }
29 #endif
30 
31 #endif /* __NVDS_STATS_H__ */
get_gpu_memory
gdouble get_gpu_memory(guint gpu_id)
get_ram_usage
gdouble get_ram_usage()
get_cpu_utilization
gdouble get_cpu_utilization()
get_gpu_utilization
gdouble get_gpu_utilization(guint gpu_id)