Function TRTSERVER_ServerOptionsSetMetrics¶
Defined in File trtserver.h
Function Documentation¶
-
TRTSERVER_Error *
TRTSERVER_ServerOptionsSetMetrics(TRTSERVER_ServerOptions *options, bool metrics)¶ Enable or disable metrics collection in a server options.
- Return
a TRTSERVER_Error indicating success or failure.
- Parameters
options: The server options object.metrics: True to enable metrics, false to disable.