This routine calculates the amount of time between the passed start time and end time during which the passed expression is true. The total time is also returned.

C format

int32 piar_timefilter(

int32 starttime,

int32 endtime,

char PIPTR * expression,

int32 PIPTR * tottime,

int32 PIPTR * passtime);



System error



Start date or end date not on line


Bad time and date


Expression parsing error


Expression evaluation or network error



starttime (passed)

Start time for search

endtime (passed)

End time for search

expression (passed)

Expression string

tottime (returned)

End time minus start time in seconds

passtime (returned)

Amount of time expression was true in seconds

Usage Notes

Enabling Operational Intelligence