Definition in file instrumentation.c.
Include dependency graph for instrumentation.c:
Go to the source code of this file.
Defines | |
#define | IP_HISTORY_START_ADD(ip, amount) ((ip)->ip_History.start + (amount)) % (ip)->ip_History.length |
Add an amount to an existing index into the ip_History.data array of the iPoint structure. | |
Functions | |
void | iInitPoint (struct iPoint *ip) |
void | iPostFloatData (struct iPoint *ip, double value) |
Post a floating point data value to an instrumentation point. | |
void | iPrintPoint (FILE *file, struct iPoint *ip) |
Print the collected values for an instrumentation point. | |
void | iPrintPoints (FILE *file) |
Print all of the instrumentation points that have had data posted to them. | |
void | iPrintPointsAtExit (void) |
An atexit(3) function that calls iPrintPoints with a file whose name is taken from instrumentation_data.iid_OutputFileName or derived from the package name and process ID. | |
Variables | |
const char * | DEFAULT_INSTRUMENTATION_FILE_NAME |
The default name for the instrumentation file. | |
iInstrumentationData | instrumentation_data |
The global data needed by the instrumentation infrastructure. |
|
Add an amount to an existing index into the ip_History.data array of the iPoint structure. In case the addition causes the index to extend beyond the bounds of the array, the result will be wrapped around to the beginning.
Definition at line 37 of file instrumentation.c. Referenced by iPostFloatData(), and iPrintPoint(). |
|
Post a floating point data value to an instrumentation point.
Definition at line 71 of file instrumentation.c. References IP_HISTORY_START_ADD, and require. |
|
Print the collected values for an instrumentation point.
Definition at line 108 of file instrumentation.c. References IP_HISTORY_START_ADD, and require. Referenced by iPrintPoints(). |
|
Print all of the instrumentation points that have had data posted to them.
Definition at line 155 of file instrumentation.c. References instrumentation_data, iPrintPoint(), and require. Referenced by iPrintPointsAtExit(). |
Here is the call graph for this function:
|
Initial value:
PACKAGE "-instrumentation-%d.txt"
Definition at line 43 of file instrumentation.c. Referenced by iPrintPointsAtExit(). |