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.

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 behavior
  • PRGC_PROFILE_DATA_OPT_INCLUDE_INITIAL—If start_time falls between two entries, this option causes the last entry before start_time to be included in the count (with the x value changed to start_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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com