---
name: "gen_estimator_active"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/gen_estimator_active"
---

# gen\_estimator\_active(9)

test if estimator is currently in use

## NAME

gen\_estimator\_active - test if estimator is currently in use

## SYNOPSIS

**bool gen\_estimator\_active(const struct gnet\_stats\_basic\_packed \*** *bstats***, const struct gnet\_stats\_rate\_est64 \*** *rate\_est***);**

## ARGUMENTS

*bstats*

basic statistics

*rate\_est*

rate estimator statistics

## DESCRIPTION

Returns true if estimator is active, and false if not.

## COPYRIGHT
