Patent ID: 8949800
Filing Date: 2015-02-03
Classification: G06F

Abstract:
1. A method for obtaining a real-time trace of state data from a processing task in which the operating system and central processing units (CPUs) support a cross-memory mode, comprising: providing a processing task comprising executable code, user data and state data in a target address space in memory; providing a trace area; providing a time-based trace facility comprising executable code in a trace address space in memory, said target address space and said trace address space being different address spaces; providing a clocking signal; providing a parameter file comprising a user-specified time interval and user-specified state data; and allocating different time slices of CPU resources to the target address space to run the processing task executable code at a system time interval to update the state data and to the trace address space to trigger the trace facility executable code at the user-specified time interval using the cross-memory mode to read the user-specified state data from the target address space and to write the user-specified state data to the trace area to store a historical record of state data at multiple time instances, said time slices of CPU resources allocated to the trace address space according to the trace facility's time-based schedule to trigger the trace facility executable code at the user-specified time interval asynchronous to the running of the processing task at the system time interval.