Description
Checks whether a managed code program is running under a Rational Runtime Analysis tool.
Syntax
int IsRunning(void)
Returns
1 |
The program is running under a Rational Runtime Analysis tool. |
0 |
The program is not running under a Rational Runtime Analysis tool. |
Notes
§ This function is especially useful for enclosing special purpose code when you're collecting measurement data for a program. For example, if you have a custom memory manager, you can disable it for memory profiling runs.
§ Use this function for Java program coverage runs, or .NET managed code program coverage, performance, or memory profiling runs.
§ Do not use this function for native-compiled (unmanaged) programs. Use instead the corresponding Purify, PureCoverage, or Quantify function.
(C) Copyright IBM Corporation 1992, 2010.