摘要:
A system for displaying performance test information for software. The system includes a graphical user interface that displays information in a format to allow ready identification of performance problems and their causes. The interface includes a timeline view depicting activity levels during the execution of a program under test. Events during a sub-range of times during the program execution may be displayed with information revealing interactions of threads making up the program. Additional information may be displayed in a further display fields, including textual information. Much of the displayed information is represented graphically, allowing a performance engineer to quickly identify areas of the program to investigate further.
摘要:
In one aspect, a method and apparatus for formatting code coverage data generated by performing one or more code coverage tests on a program module derived from computer code is provided, including organizing the code coverage data in a hierarchy having a plurality of tables, each of the plurality of tables configured to store information at one of successive levels of refinement, and storing, in each of the plurality of tables, code coverage information indicative of code coverage at a respective one of the successive levels of refinement. In another aspect, a data structure for storing code coverage data is provided, the data structure comprising a plurality of tables organized in a hierarchy having a plurality of levels, each of the plurality of levels corresponding to a respective construct in the programming paradigm used to structure the code, wherein each of the plurality of tables comprises a first location configured to store code coverage information at the level in the hierarchy at which the table is located.
摘要:
Systems and methods are provided that determine the actual amount of time a processor consumes in executing a code portion. The actual execution time of a code portion may be accurately determined by taking into consideration context switches and/or overhead time corresponding to the code portion. Determining the actual execution time of a code portion may include recording context switches and time values that occur during the execution of the code portion. This information along with overhead measurements may be used to generate the actual execution time of a code portion, as will be described in more detail below. For example, the switched-out intervals resulting from the context switches and the overhead time associated with the time measurements may be subtracted from the elapsed time to produce the actual execution time of a code portion.