---
title: CounterDuration
summary: To be used for picking the duration in a rate counter lookup_count call.
url: https://www.fastly.com/documentation/reference/compute/sdks/cpp/fastly/erl/enum.CounterDuration/
---

**Kind:** Enum  
**Module:** [erl](https://www.fastly.com/documentation/reference/compute/sdks/cpp/fastly/erl/)  
**Package:** compute-sdk-cpp 0.7.0  
**Source:** https://github.com/fastly/compute-sdk-cpp/blob/ff911e47be2f319e83a9cde960d2c3c5db534280/include/fastly/erl.h#L41

To be used for picking the duration in a rate counter `lookup_count` call.

## Variants

### TenSec

**Value:** `= 10`

### TwentySecs

**Value:** `= 20`

### ThirtySecs

**Value:** `= 30`

### FortySecs

**Value:** `= 40`

### FiftySecs

**Value:** `= 50`

### SixtySecs

**Value:** `= 60`
