static variable

(redirected from Static variables)

static variable

[′stad·ik ′ver·ē·ə·bəl]
(computer science)
A local variable that does not cease to exist upon termination of the block in which it can be accessed, but instead retains its most recent value until the next execution of this block.
Mentioned in ?
References in periodicals archive ?
This is why determining the state of volemia that was being carried out based on the tendency over time of static variables like central venous pressure does not work, given that it does not integrate the relation between preload and its response (effective systolic volume).
To trigger dynamic compilation, programmers annotate their source code to identify static variables (variables that have a single value or relatively few values during program execution) on which many calculations depend; static variables are run-time constants.
1993], a binding-time analysis (BTA) identifies those variables (called derived static variables) whose values are computed solely from annotated or other derived static variables; the lifetimes of these static variables determine the extent of the dynamic region.
1993]) that will generate code at run time for that region, given the values of its static variables.
Then, for procedures that contain annotations, the BTA identifies derived static variables, the static computations,(5) and the boundaries of dynamic regions.
The BTA starts its analysis with the annotations that identify static variables and ends after the last use of any static value.
The compile-time code transformation eliminates global and static variables in an MPI program using node-specific data.
The basic transformation that allows an MPI node to be executed safely as a thread is the elimination of global and static variables.
As a result, function- or block-specific static variables and related type definitions must be recognized and moved out from their original lexical scopes.
Its global and static variables are also eliminated manually (with the aid of a Fortran transformation tool currently under development).
Target code generated for a static variable definition static T V = I;.
As opposed to the factors announced as capacity parameters, which are pulverized on the capacity's leave, static variable won't lose its esteem when the capacity exits will in any case hold that esteem ought to the capacity be called once more.