(Page 16 of 30 in this chapter)


SccpGetUSapStats

Description

Retrieves (and optionally resets) the User SAP statistics for a particular User SAP of the SCCP task.

Prototype

SCCP_STATUS SccpGetUSapStats (U8 board,

SccpUSapStats *pStats,

U16 sapId,

U8 bReset )

board The TX Series board number to which this request is directed.

pStats The address of the caller's SCCP User SAP statistics buffer where statistics are returned.

sapId The User SAP ID being retrieved.

bReset If non-zero, statistics are reset to zero after retrieving.

Return Values

Details

The SccpUSapStats structure is shown below. Counts of type S32 are the number of event occurrences since last cleared.

typedef struct
{
  U8         month;       /* month                      */
  U8         day;         /* day                        */
  U8         year;        /* year - since 1900          */
  U8         hour;        /* hour - 24 hour clock       */
  U8         min;         /* minute                     */
  U8         sec;         /* second                     */
  U8         tenths;      /* tenths of second           */
  U8         fill;        /* alignment                  */
} DateTime;

typedef struct 
{
  DateTime   dt;          /* Date and Time              */
  Duration   dura;        /* Duration (not used)        */
  S32        ssOOSReqGr;  /* Subsystem out-of-service
                           * request granted            */
  S32        ssOOSReqDn;  /* Subsystem out-of-service
                           * request denied             */
  S32        msgTxBSS;    /* msgs sent to backup 
                           * subsystem                  */
} SccpUSapStats;


(Page 16 of 30 in this chapter)


tech_support@nmss.com
Copyright © 1999, Natural MicroSystems, Inc. All rights reserved.