OnWorks favicon

cg_annotate - Online in the Cloud

Run cg_annotate in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command cg_annotate that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



cg_annotate - post-processing tool for Cachegrind


cg_annotate [options] cachegrind-out-file [source-files...]


cg_annotate takes an output file produced by the Valgrind tool Cachegrind and prints the
information in an easy-to-read form.


-h --help
Show the help message.

Show the version number.

--show=A,B,C [default: all, using order in cachegrind.out.<pid>]
Specifies which events to show (and the column order). Default is to use all present
in the cachegrind.out.<pid> file (and use the order in the file). Useful if you want
to concentrate on, for example, I cache misses (--show=I1mr,ILmr), or data read misses
(--show=D1mr,DLmr), or LL data misses (--show=DLmr,DLmw). Best used in conjunction
with --sort.

--sort=A,B,C [default: order in cachegrind.out.<pid>]
Specifies the events upon which the sorting of the function-by-function entries will
be based.

--threshold=X [default: 0.1%]
Sets the threshold for the function-by-function summary. A function is shown if it
accounts for more than X% of the counts for the primary sort event. If
auto-annotating, also affects which files are annotated.

Note: thresholds can be set for more than one of the events by appending any events
for the --sort option with a colon and a number (no spaces, though). E.g. if you want
to see each function that covers more than 1% of LL read misses or 1% of LL write
misses, use this option:


--auto=<no|yes> [default: no]
When enabled, automatically annotates every file that is mentioned in the
function-by-function summary that can be found. Also gives a list of those that
couldn't be found.

--context=N [default: 8]
Print N lines of context before and after each annotated line. Avoids printing large
sections of source files that were not executed. Use a large number (e.g. 100000) to
show all source lines.

-I<dir> --include=<dir> [default: none]
Adds a directory to the list in which to search for files. Multiple -I/--include
options can be given to add multiple directories.

Use cg_annotate online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Laravel is a free, open-source PHP web
    framework. Features:Expressive,
    beautiful syntax.Database agnostic
    migrationsSchema builderPainless
    routingPowerful queu...
    Download Laravel
  • 2
    nmon for Linux
    nmon for Linux
    nmon is short for Nigel's
    Performance Monitor It either shows you
    the stats on-screen updating once a
    second or saves the data to a CSV file
    for later anal...
    Download nmon for Linux
  • 3
    VBA-M (Archived - Now on Github)
    VBA-M (Archived - Now on Github)
    Project has moved to
    Features:Cheat creationsave statesmulti
    system, supports gba, gbc, gb, sgb,
    Download VBA-M (Archived - Now on Github)
  • 4
    Linux System Optimizer and Monitoring
    Github Repository:
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • 5
    Fork of TeamWinRecoveryProject(TWRP)
    with many additional functions, redesign
    and more Features:Supports Treble and
    non-Treble ROMsUp-to-date Oreo kernel,
    Download OrangeFox
  • 6
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 7
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • More »

Linux commands