CN103198008A - System testing statistical method and device - Google Patents

System testing statistical method and device Download PDF

Info

Publication number
CN103198008A
CN103198008A CN2013101538214A CN201310153821A CN103198008A CN 103198008 A CN103198008 A CN 103198008A CN 2013101538214 A CN2013101538214 A CN 2013101538214A CN 201310153821 A CN201310153821 A CN 201310153821A CN 103198008 A CN103198008 A CN 103198008A
Authority
CN
China
Prior art keywords
application program
statistics
information
output
essential information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013101538214A
Other languages
Chinese (zh)
Inventor
胡事民
朱龙云
白石
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CN2013101538214A priority Critical patent/CN103198008A/en
Publication of CN103198008A publication Critical patent/CN103198008A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a system testing statistical method and device. The system testing statistical method comprises the following steps of: determining information to be counted, wherein the information is application program or system basic information; establishing testing statistical control keys by a shortcut way, wherein the control keys include a beginning key and an end key; setting output forms of the statistical information and a target file; controlling the beginning and end time according to the control keys generated by the shortcut way, and testing and counting the application program and the system basic information operation data within the beginning time and the end time; and outputting the testing statistical result. According to the method of the embodiment of the invention, a user and a developer can know the system expense condition of the specified application program by counting the using condition and the resource utilizing condition of the specified application program; meanwhile, the resource utilizing conditions of some application programs as well as the system software function, the data resource and the relevant hardware resources can be automatically analyzed.

Description

System testing statistical method and device
Technical field
The present invention relates to the computer software application analysis technical field, particularly a kind of system testing statistical method and device.
Background technology
Computer system has rich in natural resources and important information, for example, comprise working time, energy consumption, EMS memory occupation amount situation, processor operating position, the operating position of system call, the operating position of various routine libraries, various hardware, for example, the operating position of video card, network interface card, disk, CD-ROM drive, keyboard, mouse wait.These information and resource are very important for user or the clearer understanding of program development personnel and the ruuning situation that detects an application program.Yet the user can't obtain these information and resource by simple method under normal conditions.
To the test of computer system, for example, specially to input-output system, or calculator display organization tests, and general benchmark test field is mainly paid close attention to.Yet these research fields generally need very professional system tool and testing software, carry out testing targetedly of specialty.Its complexity and professional degree are that the general user can't finish.And the general user mainly concentrates on the demand of application programs to the demand of computing machine, and what pay close attention to more is the ruuning situation of the application program of using.By grasping the ruuning situation of application program, can improve the understanding of application programs, use required application program more efficiently.In addition, the developer of some application programs and is indifferent to the ruuning situation of system itself when carrying out application and development, and what be concerned about more is the ruuning situation of the application program developed.Therefore, need a fairly simple easy-to-use information and the statistical tool of resource.
In Windows operating system, people are accustomed to using the information of adding up in the task manager to understand the ruuning situation of application program.Other certain operations system page has similar system tool.Yet that these system tools can only provide usually is real-time, the most key several information (as internal memory, processor etc.) and resource operating position in the system.These information are more limited, can only give the user cardinal principle profile of an application program operation, can not make the user more clearly understand the operating position of application program.Such as, the user can't understand the application that moves and mainly call those system calls, has mainly used which hardware resource, and which operation is the bottleneck of performance of application program.
Summary of the invention
Purpose of the present invention is intended to solve at least one of above-mentioned technological deficiency.
For achieving the above object, the embodiment of one aspect of the present invention proposes a kind of multiple view video coding mode selecting method, may further comprise the steps: need to determine the information of statistics, wherein, described information is application program and system's essential information; S2: set up the operating key of test statistics by shortcut, wherein, described operating key comprises beginning key and end key; S3: output form and the file destination of setting statistical information; S4: control start and end time according to the operating key that shortcut generates, and test statistics interior application program of described start and end time and system's essential information service data; And S5: export described test statistics result.
Method according to the embodiment of the invention, add up by operating position and utilization of resources situation to specified application, make user and developer understand the system overhead situation of specified application, can analyze simultaneously the resource operating position of some application program automatically, system software function, data resource and related hardware resource.
In one embodiment of the invention, described step S1 specifically comprises: S11: the computer run essential information that the needs statistics is set, wherein, described computer run essential information comprises EMS memory occupation amount, cpu operating position, system call operating position, video card operating position, network interface card operating position, read-write disk situation; And S12: the application program that needs statistics is set, wherein, in the arranging of described computer run essential information and application program, needs to arrange described computer run essential information or application program at least.
In one embodiment of the invention, described step S3 specifically comprises: S31: the output form of setting described statistical information, wherein, the output form of described statistical information comprises directly at screen and shows statistical information or described statistical information is saved in the file; And S32: when described statistical information is saved in the file, the path at enactment document place and file name.
In one embodiment of the invention, described step S4 specifically comprises: S41: by start time and the concluding time of described operating key control test statistics; And S42: add up described begin described application program and system's essential information service data in the concluding time section.
In one embodiment of the invention, described step S5 specifically comprises: S51: output begins to count on the various resource operating positions that finish system in the timing statistics section; S52: the various resource operating positions of application program in the timing statistics section that output is set; And S53: export the total resource operating position of other application program.
For achieving the above object, the present invention embodiment on the other hand proposes a kind of system testing statistic device, comprises determination module, is used for need determining the information of statistics, and wherein, described information is application program and system's essential information; Creation module, for the operating key of setting up test statistics by shortcut, wherein, described operating key comprises beginning key and end key; Setting module is for output form and the file destination of setting statistical information; Control module, the operating key that is used for generating according to shortcut is controlled start and end time, and test statistics interior application program of described start and end time and system's essential information service data; And output module, be used for the described test statistics result of output.
Device according to the embodiment of the invention, add up by operating position and utilization of resources situation to specified application, make user and developer understand the system overhead situation of specified application, can analyze simultaneously the resource operating position of some application program automatically, system software function, data resource and related hardware resource.
In one embodiment of the invention, described determination module specifically comprises: first arranges the unit, be used for arranging the computer run essential information that needs statistics, wherein, described computer run essential information comprises EMS memory occupation amount, cpu operating position, system call operating position, video card operating position, network interface card operating position, read-write disk situation; And second arrange the unit, is used for arranging the application program that needs statistics, wherein, in the arranging of described computer run essential information and application program, needs to arrange described computer run essential information or application program at least.
In one embodiment of the invention, described setting module specifically comprises: first setup unit, be used for to set the output form of described statistical information, wherein, the output form of described statistical information comprises directly at screen and shows statistical information or described statistical information is saved in the file; And
Second setup unit is used for when described statistical information is saved in file the path at enactment document place and file name.
In one embodiment of the invention, described control module specifically comprises: control module is used for start time and concluding time by described operating key control test statistics; And statistic unit, be used for that statistics is described to begin described application program and system's essential information service data in the concluding time section.
In one embodiment of the invention, described output module specifically comprises: first output unit is used for output and begins to count on the various resource operating positions that finish system in the timing statistics section; Second output unit is used for the various resource operating positions of application program in the timing statistics section that output is set; And the 3rd output unit, be used for the total resource operating position of other application program of output.
The aspect that the present invention adds and advantage part in the following description provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Description of drawings
Above-mentioned and/or the additional aspect of the present invention and advantage are from obviously and easily understanding becoming the description of embodiment below in conjunction with accompanying drawing, wherein:
Fig. 1 is the process flow diagram of system testing statistical method according to an embodiment of the invention; And
Fig. 2 is the frame diagram of system testing statistic device according to an embodiment of the invention.
Embodiment
Describe embodiments of the invention below in detail, the example of embodiment is shown in the drawings, and wherein identical or similar label is represented identical or similar elements or the element with identical or similar functions from start to finish.Be exemplary below by the embodiment that is described with reference to the drawings, only be used for explaining the present invention, and can not be interpreted as limitation of the present invention.
Fig. 1 is the process flow diagram of the system testing statistical method of the embodiment of the invention.As shown in Figure 1, the system testing statistical method according to the embodiment of the invention may further comprise the steps:
S101, definite information that needs statistics, wherein, information is application program and system's essential information.
Particularly, setting comprises the computer run essential information of needs statistics and the application program of needs statistics.The computer run essential information comprises EMS memory occupation amount, cpu operating position, system call operating position, video card operating position, network interface card operating position, read-write disk situation etc.
In one embodiment of the invention, can one of them can be set computer run essential information and the application program that needs statistics also can be set simultaneously according to user's demand setting in the arranging of computer run essential information and application program.
S102 sets up the operating key of test statistics by shortcut.
In one embodiment of the invention, operating key comprises beginning key, end key, Pause key etc.Can also generate operating key with a simple control interface.
Step S103, output form and the file destination of setting statistical information.
Particularly, set the output form of statistical information.Wherein, the output form of statistical information comprises directly at screen and shows statistical information or statistical information is saved in the file.When output form for directly on screen during explicit statistical information, statistics can output to statistics on the screen after finishing immediately, and statistical information is then wanted path and the file name at enactment document place when being saved in the file, for example,
S104 controls start and end time according to the operating key that shortcut generates, and test statistics interior application program of start and end time and system's essential information service data.
Particularly, at first control start time and the concluding time of test statistics by operating key.Begin after the statistics, statistics begins application program and system's essential information service data in the concluding time section.
Step S105, output test statistics result.
Particularly, the statistics of exporting is the various resource operating positions of system, the application program of user's appointment various resource operating positions and the total resource operating position of other application program in the timing statistics section.
Method according to the embodiment of the invention, add up by operating position and utilization of resources situation to specified application, make user and developer understand the system overhead situation of specified application, can analyze simultaneously the resource operating position of some application program automatically, system software function, data resource and related hardware resource.
Fig. 2 is the frame diagram of system testing statistic device according to an embodiment of the invention.As shown in Figure 2, the system testing statistic device according to the embodiment of the invention comprises determination module 100, creation module 200, setting module 300, control module 400 and output module 500.
Determination module 100 is used for need determining the information of statistics, and wherein, information is application program and system's essential information.
In one embodiment of the invention, determination module 100 comprises that first arranges unit 110 and second unit 120 is set.
First arranges unit 110 is used for arranging the computer run essential information that needs statistics, wherein, the computer run essential information comprises EMS memory occupation amount, cpu operating position, system call operating position, video card operating position, network interface card operating position, read-write disk situation.
Second arranges unit 120 is used for arranging the application program that needs statistics.
In one embodiment of the invention, can one of them can be set computer run essential information and the application program that needs statistics also can be set simultaneously according to user's demand setting in the arranging of computer run essential information and application program.
Creation module 200 is used for setting up by shortcut the operating key of test statistics, and wherein, operating key comprises beginning key and end key.
In one embodiment of the invention, operating key comprises beginning key, end key, Pause key etc.Can also generate operating key with a simple control interface.
Setting module 300 is used for setting output form and the file destination of statistical information.
In one embodiment of the invention, setting module 300 comprises first setup unit 310 and second setup unit 320.
First setup unit 310 is used for setting the output form of statistical information, and wherein, the output form of statistical information comprises directly at screen and shows statistical information or statistical information is saved in the file.
Second setup unit 320 is used for when statistical information is saved in file the path at enactment document place and file name.
In one embodiment of the invention, set the way of output of statistical informations by first setup unit 310, when way of output path and file name by second setup unit, 320 enactment document places when being saved in statistical information in the file.
The operating key that control module 400 is used for generating according to shortcut is controlled start and end time, and test statistics interior application program of start and end time and system's essential information service data.
In one embodiment of the invention, control module 400 comprises control module 410 and statistic unit 420.
Control module 410 is used for start time and the concluding time by operating key control test statistics.
Statistic unit 420 is used for statistics and begins application program and system's essential information service data in the concluding time section.
In one embodiment of the invention, by the start and end time of control module 410 control statistics, and by the basic service data of statistic unit 420 statistics application programs or computer system.
Output module 500 is used for output test statistics result.
In one embodiment of the invention, output module 500 comprises first output unit 510, second output unit 520 and the 3rd output unit 530.
First output unit 510 is used for output and begins to count on the various resource operating positions that finish system in the timing statistics section.
Second output unit 520 is used for the various resource operating positions of application program in the timing statistics section that output is set.
The 3rd output unit 530 is used for the total resource operating position of other application program of output.
In one embodiment of the invention, the resource operating position data of the resource operating position data of the system resource operating position data after will adding up by first output unit 510, second output unit 520 and the 3rd output unit 530, specified application and other application program make output for user's reference with the form of icon or form.
Device according to the embodiment of the invention, add up by operating position and utilization of resources situation to specified application, make user and developer understand the system overhead situation of specified application, can analyze simultaneously the resource operating position of some application program automatically, system software function, data resource and related hardware resource.
Although illustrated and described embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, those of ordinary skill in the art can change above-described embodiment under the situation that does not break away from principle of the present invention and aim within the scope of the invention, modification, replacement and modification.

Claims (10)

1. a system testing statistical method is characterized in that, may further comprise the steps:
S1: need to determine the information of statistics, wherein, described information is application program and system's essential information;
S2: set up the operating key of test statistics by shortcut, wherein, described operating key comprises beginning key and end key;
S3: output form and the file destination of setting statistical information;
S4: control start and end time according to the operating key that shortcut generates, and test statistics interior application program of described start and end time and system's essential information service data; And
S5: export described test statistics result.
2. the system as claimed in claim 1 test statistics method is characterized in that, described step S1 specifically comprises:
S11: the computer run essential information that needs statistics is set, and wherein, described computer run essential information comprises EMS memory occupation amount, cpu operating position, system call operating position, video card operating position, network interface card operating position, read-write disk situation; And
S12: the application program that needs statistics is set,
Wherein, in the arranging of described computer run essential information and application program, need to arrange described computer run essential information or application program at least.
3. the system as claimed in claim 1 test statistics method is characterized in that, described step S3 specifically comprises:
S31: set the output form of described statistical information, wherein, the output form of described statistical information comprises directly at screen and shows statistical information or described statistical information is saved in the file; And
S32: when described statistical information is saved in the file, the path at enactment document place and file name.
4. the system as claimed in claim 1 test statistics method is characterized in that, described step S4 specifically comprises:
S41: by start time and the concluding time of described operating key control test statistics; And
S42: add up described begin described application program and system's essential information service data in the concluding time section.
5. the system as claimed in claim 1 test statistics method is characterized in that, described step S5 specifically comprises:
S51: output begins to count on the various resource operating positions that finish system in the timing statistics section;
S52: the various resource operating positions of application program in the timing statistics section that output is set; And
S53: export the total resource operating position of other application program.
6. system testing statistic device comprises:
Determination module is used for definite information that needs statistics, and wherein, described information is application program and system's essential information;
Creation module, for the operating key of setting up test statistics by shortcut, wherein, described operating key comprises beginning key and end key;
Setting module is for output form and the file destination of setting statistical information;
Control module, the operating key that is used for generating according to shortcut is controlled start and end time, and test statistics interior application program of described start and end time and system's essential information service data; And
Output module is used for the described test statistics result of output.
7. system testing statistic device as claimed in claim 6 is characterized in that, described determination module specifically comprises:
First arranges the unit, be used for arranging the computer run essential information that needs statistics, wherein, described computer run essential information comprises EMS memory occupation amount, cpu operating position, system call operating position, video card operating position, network interface card operating position, read-write disk situation; And
Second arranges the unit, is used for arranging the application program that needs statistics,
Wherein, in the arranging of described computer run essential information and application program, need to arrange described computer run essential information or application program at least.
8. system testing statistic device as claimed in claim 6 is characterized in that, described setting module specifically comprises:
First setup unit be used for to be set the output form of described statistical information, and wherein, the output form of described statistical information comprises directly at screen and shows statistical information or described statistical information is saved in the file; And
Second setup unit is used for when described statistical information is saved in file the path at enactment document place and file name.
9. system testing statistic device as claimed in claim 6 is characterized in that, described control module specifically comprises:
Control module is used for start time and concluding time by described operating key control test statistics; And
Statistic unit is used for that statistics is described to begin described application program and system's essential information service data in the concluding time section.
10. system testing statistic device as claimed in claim 6 is characterized in that, described output module specifically comprises:
First output unit is used for output and begins to count on the various resource operating positions that finish system in the timing statistics section;
Second output unit is used for the various resource operating positions of application program in the timing statistics section that output is set; And
The 3rd output unit is used for the total resource operating position of other application program of output.
CN2013101538214A 2013-04-27 2013-04-27 System testing statistical method and device Pending CN103198008A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013101538214A CN103198008A (en) 2013-04-27 2013-04-27 System testing statistical method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013101538214A CN103198008A (en) 2013-04-27 2013-04-27 System testing statistical method and device

Publications (1)

Publication Number Publication Date
CN103198008A true CN103198008A (en) 2013-07-10

Family

ID=48720590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013101538214A Pending CN103198008A (en) 2013-04-27 2013-04-27 System testing statistical method and device

Country Status (1)

Country Link
CN (1) CN103198008A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063316A (en) * 2014-06-23 2014-09-24 百度在线网络技术(北京)有限公司 Application testing method and device
CN104731653A (en) * 2015-03-31 2015-06-24 上海盈方微电子有限公司 Android display system software drawing and hardware drawing dynamic switching method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101632093A (en) * 2006-11-16 2010-01-20 三得Sds株式会社 Be used to use statistical analysis to come the system and method for management of performance fault
CN101933001A (en) * 2008-01-31 2010-12-29 雅虎公司 Executing software performance test jobs in a clustered system
CN102184134A (en) * 2010-06-22 2011-09-14 上海盈方微电子有限公司 System-on-chip performance analyzer
CN102253883A (en) * 2011-07-29 2011-11-23 国网信息通信有限公司 Method and system for evaluating performance of server
CN102414674A (en) * 2009-04-30 2012-04-11 微软公司 Application efficiency engine
CN102508763A (en) * 2011-10-11 2012-06-20 工业和信息化部计算机与微电子发展研究中心(中国软件评测中心) Performance test system of GIS (Geographic Information System) platform
CN102609351A (en) * 2012-01-11 2012-07-25 华为技术有限公司 Method, equipment and system for analyzing system performance
CN103064740A (en) * 2011-10-19 2013-04-24 鸿富锦精密工业(深圳)有限公司 Guest operating system predict migration system and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101632093A (en) * 2006-11-16 2010-01-20 三得Sds株式会社 Be used to use statistical analysis to come the system and method for management of performance fault
CN101933001A (en) * 2008-01-31 2010-12-29 雅虎公司 Executing software performance test jobs in a clustered system
CN102414674A (en) * 2009-04-30 2012-04-11 微软公司 Application efficiency engine
CN102184134A (en) * 2010-06-22 2011-09-14 上海盈方微电子有限公司 System-on-chip performance analyzer
CN102253883A (en) * 2011-07-29 2011-11-23 国网信息通信有限公司 Method and system for evaluating performance of server
CN102508763A (en) * 2011-10-11 2012-06-20 工业和信息化部计算机与微电子发展研究中心(中国软件评测中心) Performance test system of GIS (Geographic Information System) platform
CN103064740A (en) * 2011-10-19 2013-04-24 鸿富锦精密工业(深圳)有限公司 Guest operating system predict migration system and method
CN102609351A (en) * 2012-01-11 2012-07-25 华为技术有限公司 Method, equipment and system for analyzing system performance

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063316A (en) * 2014-06-23 2014-09-24 百度在线网络技术(北京)有限公司 Application testing method and device
CN104063316B (en) * 2014-06-23 2017-11-24 百度在线网络技术(北京)有限公司 The method of testing and device of a kind of application
CN104731653A (en) * 2015-03-31 2015-06-24 上海盈方微电子有限公司 Android display system software drawing and hardware drawing dynamic switching method

Similar Documents

Publication Publication Date Title
Zhu et al. Event-based scheduling for energy-efficient qos (eqos) in mobile web applications
US20190325370A1 (en) Automatic demand-driven resource scaling for relational database-as-a-service
KR102150774B1 (en) Method and apparatus for loading a terminal application
Ashok et al. Vehicular cloud computing through dynamic computation offloading
CN102314391B (en) Architecture and method for monitoring performance of virtualization system based on hardware basis tools
US9183116B1 (en) Call chain interval resource impact aggregation differencing
US20100064293A1 (en) Apparatus and method for managing user schedule
Han et al. E3: Energy-efficient engine for frame rate adaptation on smartphones
CN100338581C (en) Operating system-independent method and system of determining CPU utilization
Chung et al. Aneprof: Energy profiling for android java virtual machine and applications
US9423957B2 (en) Adaptive system provisioning
US20080288931A1 (en) Using Dynamic Call Graphs For Creating State Machines
US9875169B2 (en) Modeling real capacity consumption changes using process-level data
WO2018099356A1 (en) Method and system for analysing operation fluency of android terminal application
Gaspar et al. A framework for application-guided task management on heterogeneous embedded systems
CN109976966A (en) A kind of application program launching time counting method, apparatus and system
Seeker et al. Measuring qoe of interactive workloads and characterising frequency governors on mobile devices
CN113778668B (en) Virtual resource deployment method, system and computer readable medium
US11537377B2 (en) Method and system for profile based deployments
KR20120129257A (en) Battery management apparatus on mobile system and method thereof
CN103198008A (en) System testing statistical method and device
Bi et al. Iadvs: On-demand performance for interactive applications
Jovic et al. Measuring the performance of interactive applications with listener latency profiling
Perennou et al. Workload characterization for a non-hyperscale public cloud platform
US20130219163A1 (en) Systems and methods for scheduling changes

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130710