Reset processing statistics for the specified commands.


Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)

Syntax

Visual Basic (Declaration)
Public Sub cmdstats_reset( _ 
   ByVal cmd_names As String(),  _ 
   ByVal start_time As Double _ 
)
C#
public void cmdstats_reset(
   string[] cmd_names,
   double start_time
)
C++
public:
 void cmdstats_reset(
   array<String>^ cmd_names,
   double start_time
) sealed 
J#
public void cmdstats_reset(
   string[] cmd_names,
   double start_time
)
JScript
public  function cmdstats_reset(
   cmd_names : String[],
   start_time : double
)

Parameters

cmd_names
The names of the commands to be included in the report. The class NetricsCmdStats has defines of all command names.
start_time
Data for commands before this point is deleted.

Remarks

This resets the processing statistics, removing any collected statistics for commands completed before start_time (the present moment if < 0.0). A command name of NetricsCmdStats.CMD_ALL can be used to retrieve statistics for all commands.

The start_time value is given in milliseconds from an arbitrary epic point, thus the only valid way to get a start_time value is to use a value returned by a previous report. As with end_time the start time is approximate and matches the start time of previously tic-marked reports.

See Also