Software application action monitoring
AssigneeMicrosoft Corporation
InventorAlex Zakonov
Life of this patent
Estimating the term…
Abstract
A system and method for collecting runtime resource information generated by an active software application is provided and includes identifying an occurrence of a function event generated for a software application operating on a predetermined platform, determining a duration of a monitored function called in response to the function event, comparing the duration with a threshold to determine if the duration exceeds the threshold, wherein if the duration is greater than or equal to the threshold then collecting runtime resource information responsive to the monitored function and processing the runtime resource information responsive to the monitored function.
Claims20
A method for collecting runtime resource information generated by an active software application, the method comprising:
- identifying an occurrence of a function event generated for a software application operating on a predetermined platform;
- determining a duration of a monitored function called in response to said function event;
- comparing said duration with a threshold to determine if said duration exceeds said threshold, wherein if said duration is greater than or equal to said threshold then,
- collecting runtime resource information responsive to said monitored function;
- and
- processing the runtime resource information responsive to said monitored function,
- wherein if said monitored function is a Resource Interface Call function, then processing includes:
- collecting said runtime resource information from function parameters and member variables responsive to said Resource Interface Call function;
- adding said runtime resource information to an existing list of resource calls for said function event;
- and
- determining a quantity of resource calls for said Resource Interface Call function;
- and
- if said quantity of resource calls exceeds a resource call threshold, then said quantity of resource calls is examined to identify a first fastest resource call and a second fastest resource call, wherein information responsive to said first fastest resource call is discarded and said resource call sensitivity threshold is set to the duration of said second fastest resource call.
A method for collecting runtime resource information generated by a software application operating on a computer platform, the method comprising:
- identifying an occurrence of a function event generated for the software application;
- determining a duration of a monitored function called in response to said function event;
- comparing said duration with a threshold to determine if said duration exceeds said threshold, wherein if said duration is greater than or equal to said event duration threshold, then
- collecting runtime resource information responsive to said monitored function;
- identifying function type of said monitored function;
- and
- processing the runtime resource information responsive to said monitored function,
- wherein if the monitored function is a Resource Interface Call then said processing includes:
- collecting said runtime resource information from function parameters and member variables responsive to said Resource Interface Call function;
- adding said runtime resource information to an existing list of resource calls for said function event;
- and
- determining a quantity of resource calls for said Resource Interface Call function;
- and
- if said quantity of resource calls exceeds a resource call threshold, then said quantity of resource calls is examined to identify a first fastest resource call and a second fastest resource call, wherein information responsive to said first fastest resource call is discarded and said resource call sensitivity threshold is set to the duration of said second fastest resource call;
- and
- wherein if the monitored function is an Application Level Action function then said processing includes:
- comparing said duration with an alerting threshold level, wherein
- if said duration is less than said alerting threshold level, then information responsive to said Application Level Action function is discarded, and
- if said duration is greater than or equal to said alerting threshold level, then said runtime resource information responsive to said Application Level Action function is collected and an alert containing said runtime resource information responsive to said Application Level Action function is generated.
One or more hardware storage device having stored computer-executable instructions which, when executed by at least one computer processor, implement a method for collecting runtime resource information generated by a software application operating on a computer platform, the method comprising:
- identifying an occurrence of a function event generated for the software application;
- determining a duration of a monitored function called in response to said function event;
- comparing said duration with a threshold to determine if said duration exceeds said threshold, wherein if said duration is greater than or equal to said event duration threshold, then
- collecting runtime resource information responsive to said monitored function;
- identifying function type of said monitored function;
- and
- processing the runtime resource information responsive to said monitored function,
- wherein if the monitored function is a Resource Interface Call then said processing includes:
- collecting said runtime resource information from function parameters and member variables responsive to said Resource Interface Call function;
- adding said runtime resource information to an existing list of resource calls for said function event;
- and
- determining a quantity of resource calls for said Resource Interface Call function;
- and
- if said quantity of resource calls exceeds a resource call threshold, then said quantity of resource calls is examined to identify a first fastest resource call and a second fastest resource call, wherein information responsive to said first fastest resource call is discarded and said resource call sensitivity threshold is set to the duration of said second fastest resource call;
- and
- wherein if the monitored function is an Application Level Action function then said processing includes:
- comparing said duration with an alerting threshold level, wherein
- if said duration is less than said alerting threshold level, then information responsive to said Application Level Action function is discarded, and
- if said duration is greater than or equal to said alerting threshold level, then said runtime resource information responsive to said Application Level Action function is collected and an alert containing said runtime resource information responsive to said Application Level Action function is generated.
One or more hardware storage device having stored computer-executable instructions which, when executed by at least one processor, implement a method for collecting runtime resource information generated by a software application operating on a computer platform, the method comprising:
- method for collecting runtime resource information generated by an active software application, the method comprising:
- identifying an occurrence of a function event generated for a software application operating on a predetermined platform;
- determining a duration of a monitored function called in response to said function event;
- comparing said duration with a threshold to determine if said duration exceeds said threshold, wherein if said duration is greater than or equal to said threshold then,
- collecting runtime resource information responsive to said monitored function;
- and
- processing the runtime resource information responsive to said monitored function,
- wherein if said monitored function is a Resource Interface Call function, then processing includes:
- collecting said runtime resource information from function parameters and member variables responsive to said Resource Interface Call function;
- adding said runtime resource information to an existing list of resource calls for said function event;
- and
- determining a quantity of resource calls for said Resource Interface Call function;
- and
- if said quantity of resource calls exceeds a resource call threshold, then said quantity of resource calls is examined to identify a first fastest resource call and a second fastest resource call, wherein information responsive to said first fastest resource call is discarded and said resource call sensitivity threshold is set to the duration of said second fastest resource call.
One or more hardware storage device having stored computer-executable instructions which, when executed by at least one processor, implement a method for collecting runtime resource information generated by a software application operating on a computer platform, the method comprising:
- method for collecting runtime resource information generated by an active software application, the method comprising:
- identifying an occurrence of a function event generated for a software application operating on a predetermined platform;
- determining a duration of a monitored function called in response to said function event;
- comparing said duration with a first threshold to determine if said duration exceeds said first threshold, wherein if said duration is greater than or equal to said first threshold then,
- collecting runtime resource information responsive to said monitored function;
- and
- processing the runtime resource information responsive to said monitored function,
- wherein when said monitored function comprises an Application Level Action function, said processing further includes, comparing said duration with an alerting threshold level, and wherein:
- if said duration is greater than or equal to the first the first threshold but less than said alerting threshold level then information responsive to said Application Level Action function is discarded, and
- if said duration is greater than or equal to the first threshold and greater than or equal to said alerting threshold level, then said runtime resource information responsive to said Application Level Action function is collected and an alert containing said runtime resource information responsive to said Application Level Action function is generated.
Dependencies are inferred from the claim text.