prg_profile_data_length_get_bt()
Abstract
Gets the number of data entries in a profile that meet a time constraint.
Syntax
prg_profile_data_length_get_bt (profile_handle, start_time, options)
| Argument | Type | Description |
|---|---|---|
profile_handle |
const PrgT_Profile_Handle |
Handle to the profile of interest. |
start_time |
PrgT_Date |
Start time. |
options |
int |
Data options (see options Argument in Details). |
Return Type
unsigned int
Number of data entries in the profile that meet the time constraint.
Header
prg_profile_funcs.h
Details
If start_time is PRGC_DATE_VALUE_UNDEFINED, the total number of data entries in the profile is returned. Otherwise, the function counts only data entries with a time equal to or greater than start_time.
options Argument
options must be one of the following:
PRGC_PROFILE_DATA_OPT_NONE—Default behaviorPRGC_PROFILE_DATA_OPT_INCLUDE_INITIAL—Ifstart_timefalls between two entries, this option causes the last entry beforestart_timeto be included in the count (with the x value changed tostart_time).
Note: To get the functionality of the deprecated function prg_profile_data_length_get(), call this function with start_time set to PRGC_DATE_VALUE_UNDEFINED.