Logo Search packages:      
Sourcecode: callgrind version File versions  Download package

_Context Struct Reference

#include <global.h>

List of all members.

Detailed Description

Function context

Basic blocks are always executed in the scope of a context. A function context is a list of function nodes representing the call chain to the current context: I.e. fn[0] is the function we are currently in, fn[1] has called fn[0], and so on. Recursion levels are used for fn[0].

To get a unique number for a full execution context, use rec_index = min(<fn->rec_separation>,<active>) - 1; unique_no = <number> + rec_index

For each Context, recursion index and BB, there can be a BBCC.

Definition at line 328 of file global.h.

Public Attributes

UInt base_number
fn_node * fn [0]
UWord hash
UInt size

The documentation for this struct was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index