Com speeds (cvar)

Description

This CVar toggles the display of how much time is spent and by what on rendering a frame.

Usage

At the console type…

com_speeds [Boolean]

Parameters

  • [Boolean]
    • 0 - Disable.
    • 1 - Enable.

Flags

Flag Enabled Description
CVAR_ALL all flags
CVAR_BOOL X variable is a boolean
CVAR_INTEGER variable is an integer
CVAR_FLOAT variable is a float
CVAR_SYSTEM X system variable
CVAR_RENDERER renderer variable
CVAR_SOUND sound variable
CVAR_GUI gui variable
CVAR_GAME game variable
CVAR_TOOL tool variable
CVAR_USERINFO sent to servers, available to menu
CVAR_SERVERINFO sent from servers, available to menu
CVAR_NETWORKSYNC cvar is synced from the server to clients
CVAR_STATIC X statically declared, not user created
CVAR_CHEAT variable is considered a cheat
CVAR_NOCHEAT variable is not considered a cheat
CVAR_INIT can only be set from the command-line
CVAR_ROM display only, cannot be set by user at all
CVAR_ARCHIVE set to cause it to be saved to a config file
CVAR_MODIFIED X set when the variable is modified

Notes

The information displayed:

  • frame - Individual numbered frame.
  • all - How long it took to render the current frame (in milliseconds).
  • gfr - How long the game code part needed (in milliseconds).
  • rf - How long the renderer front end needed (in milliseconds).
  • bk - How long the renderer back end needed (in milliseconds).

The render front end is responsible for traversing the scene, portal and view frustum culling, shadow generation, dynamic model generation, and sorting. The back end is responsible for issuing the actual draw calls (the back end is what changes when r_renderer changes).