CVIProfSetCurrentThreadProfiling
int CVIProfSetCurrentThreadProfiling (int newState);
Purpose
Enables or disables profiling in the calling thread. This function only affects LabWindows/CVI applications built with profiling enabledprofiling enabled.
![]() |
Notes
|
(Linux) This function is not supported.
Parameters
Input | ||
Name | Type | Description |
newState | int | Specifies the new profiling state. Specify a nonzero value or select Enabled in the function panel to enable profiling in the calling thread. Pass 0 or select Disabled in the function panel to disable profiling in the calling thread. |
Return Value
Name | Type | Description | ||||||||||||||||
status | int | Result of the function call.
|
Additional Information
Library: Utility Library
Include file: utility.h
LabWindows/CVI compatibility: LabWindows/CVI 2009 and later