---
name: "function::qsq_blocked"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::qsq_blocked"
---

# function::qsq\_blocked(3stap)

Returns the time reqest was on the wait queue

## NAME

function::qsq\_blocked - Returns the time reqest was on the wait queue

## SYNOPSIS

```
    qsq_blocked:long(qname:string,scale:long)
```

## ARGUMENTS

*qname*

queue name

*scale*

scale variable to take account for interval fraction

## DESCRIPTION

This function returns the fraction of elapsed time during which one or more requests were on the wait queue.

## SEE ALSO0

[*tapset::queue\_stats*(3stap)](/tapset::queue_stats/3stap.md)
