---
name: "QueryPerformanceFrequency"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/QueryPerformanceFrequency"
---

# QueryPerformanceFrequency(3w)

## NAME

**QueryPerformanceFrequency** (KERNEL32.@)

## SYNOPSIS

BOOL QueryPerformanceFrequency\
  (\
   PLARGE\_INTEGER *frequency*\
  )

## DESCRIPTION

Get the resolution of the performance counter.

## PARAMS

*frequency* **\[Out\]**  Destination for the counter resolution.

## RETURNS

Success. **TRUE**. Frequency contains the resolution of the counter.

**Failure:** **FALSE**.

## SEE ALSO

See **[QueryPerformanceCounter(3w)](/QueryPerformanceCounter/3w.md)**.

## IMPLEMENTATION

Declared in **"winbase.h"**.

Implemented in **"dlls/kernel32/cpu.c"**.

Debug channel **"reg"**.
