Function TRTSERVER_ServerOptionsSetGpuMetrics¶
Defined in File trtserver.h
Function Documentation¶
-
TRTSERVER_Error *
TRTSERVER_ServerOptionsSetGpuMetrics
(TRTSERVER_ServerOptions *options, bool gpu_metrics)¶ Enable or disable GPU metrics collection in a server options.
GPU metrics are collected if both this option and TRTSERVER_ServerOptionsSetMetrics are true.
- Return
a TRTSERVER_Error indicating success or failure.
- Parameters
options
: The server options object.gpu_metrics
: True to enable GPU metrics, false to disable.