# Sandbox.Services.BenchmarkSystem.SetMetric

```csharp
void SetMetric(string name, double metric)
```

Set a custom metric, like load time, shutdown time etc

### Parameters

- `name` (`string`)
- `metric` (`double`)

Declared in [Sandbox.Services.BenchmarkSystem](/api/Sandbox.Services.BenchmarkSystem).
Assembly: `Sandbox.Engine`.
