CN106055462A - Method and device for duration acquisition - Google Patents

Method and device for duration acquisition Download PDF

Info

Publication number
CN106055462A
CN106055462A CN201610338973.5A CN201610338973A CN106055462A CN 106055462 A CN106055462 A CN 106055462A CN 201610338973 A CN201610338973 A CN 201610338973A CN 106055462 A CN106055462 A CN 106055462A
Authority
CN
China
Prior art keywords
function
time
instruction
application program
perform
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
CN201610338973.5A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610338973.5A priority Critical patent/CN106055462A/en
Publication of CN106055462A publication Critical patent/CN106055462A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • G06F11/3419Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment by assessing time
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3471Address tracing

Abstract

The embodiment of the invention discloses a method and device for duration acquisition. The method disclosed by the embodiment of the invention comprises the steps that execution of a first time acquisition function outside an application program is started when execution of a target function inside the application program is started, so that execution starting time of the target function can be obtained; then, the execution of the target function is started when the execution of the first time acquisition function is completed; execution of a second time acquisition function outside the application program is started when the execution of the target function is completed, so that execution completion time of the target function is obtained; and execution duration of the target function can be acquired according to the execution starting time and the execution completion time. The scheme can increase accuracy of time-consuming statistics of the function duration.

Description

A kind of duration acquisition methods and device
Technical field
The present invention relates to field of computer technology, be specifically related to a kind of duration acquisition methods and device.
Background technology
Growing along with mobile terminal technology, number of applications also presents explosive growth trend.Application journey Sequence developer provides various application program, the application program of types such as such as, entertaining, play, be social.
For application developer, in order to ensure the quality of application program, need the performance of application program is entered Row monitoring, then, carrys out application program based on monitoring result, to improve its running quality;Such as, statistics application program is needed Call relation between function etc. in the execution of middle function time-consuming (i.e. performing duration), detection application program.
In prior art, the execution of statistical function time-consumingly needs to bury before and after the execution of this function a little, in running The execution calculating function is time-consuming;Specifically, two information letters for object function are set in advance inside application program Number, information function for collecting the function information before function performs, such as collect the temporal information before function performs, Function call information and other functional dependence information, another information function is for collecting the letter after function has performed Number information, such as, collects temporal information, function call information and other functional dependence information after function has performed, this Sample is running application program, namely when running the function in application program, can be distinguished by the two information function Temporal information before collecting function execution, after execution, thus the execution obtaining this function is time-consuming (execution duration).
To in the research of prior art and practice process, it was found by the inventors of the present invention that owing to prior art adds up letter The execution of number is time-consuming, needs to perform the internal corresponding information function of application program, and it can affect the performance of application program, because of This, can cause the function of statistics to perform the most inaccurate, and it is relatively low that function performs time-consuming statistical accuracy ratio.
Summary of the invention
The embodiment of the present invention provides a kind of duration acquisition methods and device, can improve the time-consuming statistical accuracy of function.
The embodiment of the present invention provides a kind of duration acquisition methods, including:
When starting the object function performed within application program, when jumping to perform first outside described application program Between obtain function, to obtain the Starting Executing Time of described object function;
When having performed acquisition function of the described very first time, jump to perform described object function;
When having performed described object function, jump to the second time acquisition function performed outside described application program, To obtain the execution deadline of described object function;
The execution duration of described object function is obtained according to described Starting Executing Time and described execution deadline.
Accordingly, the embodiment of the present invention also provides for a kind of duration acquisition device, including:
First jump-transfer unit, for when starting the object function performed within application program, jumps to perform described answering Function is obtained, to obtain the Starting Executing Time of described object function with the very first time outside program;
Second jump-transfer unit, for when having performed acquisition function of the described very first time, jumping to perform described target letter Number;
3rd jump-transfer unit, for when having performed described object function, jumps to perform outside described application program Second time obtained function, to obtain the execution deadline of described object function;
Duration acquiring unit, for obtaining described target letter according to described Starting Executing Time and described execution deadline The execution duration of number.
The embodiment of the present invention uses and jumps to when starting the object function performed within application program perform this application journey Very first time outside sequence obtains function, to obtain the Starting Executing Time of this object function, then, performed this first time Between obtain function time jump to perform this object function, jump to when having performed this object function perform outside this application program The second time obtain function, to obtain the execution deadline of this object function, according to this Starting Executing Time and this execution Deadline obtains the execution duration of this object function;The program can obtain function by the time outside application program and obtain Take the Starting Executing Time of object function and perform the deadline, then, completing based on this Starting Executing Time and execution The execution that time obtains this object function is time-consuming, when being obtained by the time acquisition function outside application program due to the program Between, do not interfere with the performance of application program self, for prior art, can improve what function was time-consumingly added up Accuracy.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for From the point of view of those skilled in the art, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings Figure.
Fig. 1 is that the flow process of a kind of duration acquisition methods that the embodiment of the present invention one provides is intended to;
Fig. 2 a is the flow chart of a kind of duration acquisition methods that the embodiment of the present invention two provides;
Fig. 2 b is a kind of function call schematic diagram that the embodiment of the present invention two provides;
Fig. 3 is the structural representation of a kind of duration acquisition device that the embodiment of the present invention three provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under not making creative work premise Example, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of duration acquisition methods and device.To be described in detail respectively below.
Embodiment one,
The present embodiment will be described from the angle of duration acquisition device, and this duration acquisition device specifically can be integrated in end In the equipment such as end, this terminal is specifically as follows the equipment such as mobile phone, panel computer or PC.
A kind of duration acquisition methods, including: jump to when starting the object function performed within application program perform to be somebody's turn to do The very first time outside application program obtains function, to obtain the Starting Executing Time of this object function, then, is performing this The very first time jumps to perform this object function when obtaining function, jumps to when having performed this object function perform this application journey The second time outside sequence obtains function, to obtain the execution deadline of this object function, according to this Starting Executing Time and This execution deadline obtains the execution duration of this object function.
As it is shown in figure 1, the flow chart of this duration acquisition methods specifically can be such that
101, when starting the object function performed within application program, jump to perform first outside this application program Time obtains function, to obtain the Starting Executing Time of this object function.
Wherein, the function within application program refers to: be positioned at the function of the constituting-functions set of application program, this structure Become function set can include the function of multiple this application program of composition;Such as, when certain power function is at the structure of application program In becoming function set, then it is assumed that this power function is the function within application program;Function outside application program refers to: position Function outside the constituting-functions set of application program, the most not function in this constituting-functions set, such as, when certain merit Energy function is not in the constituting-functions set of application program, then it is assumed that this function is the function outside application program.
In the present embodiment, determine that the mode starting performance objective function can have multiple, such as, in performing application program Can determine that during the begin of the object function in portion and now start to perform this object function, namely step " performs application program starting Jumping to perform the very first time during internal object function obtains function " may include that and performing application program internal object letter Jump to during the begin counted perform very first time acquisition function;In actual applications, the mode of beginning performance objective function is determined Can set according to demand, such as, can be arranged on moment of invocation target function be start to perform this object function time Carve, etc..
The duration acquisition methods of the present embodiment such as, can obtain Android at needs in the upper enforcement of Dalvik (virtual machine) In application program, the execution of function is time-consuming, can be in Android Dalvik (Android virtual machine) upper application the present embodiment method; Namely step is " when starting the object function performed within application program, when jumping to perform first outside this application program Between obtain function " may include that
When the object function within Android virtual machine performs application program, Android virtual machine redirects this application program of execution The outside very first time obtains function.
In the present embodiment, the very first time obtains function and is positioned at outside application program, and this function is for obtaining object function Starting Executing Time, this Starting Executing Time can be a timestamp;Wherein, this very first time obtains function can be user Self-defining function;Specifically, this very first time obtain function may be used for obtaining function identification and correspondence thereof start perform Time etc..
Alternatively, in the present embodiment, the very first time obtains function can be the local function in terminal operating system, such as This locality (Native) function in Android system.
Alternatively, the present embodiment can use Hook (hook) to realize redirecting execution function, to improve what function redirected Speed, and then improve the speed that function is time-consumingly added up;Namely step " jumping to the very first time performed outside this application program obtains Take function " may include that jumping to perform the very first time outside this application program by the first Hook Function obtains function.
Specifically, the present embodiment can perform instruction by Hook Function Modification growth function and realize function and redirect;Such as may be used When dynamic base execution intrinsic function calls, function is performed instruction and modifies, so that system can jump to perform The outside corresponding function of application program (such as outside self-defining function);I.e. step " jumps to perform to be somebody's turn to do by the first Hook Function The very first time outside application program obtains function " may include that
Obtain the first function and perform instruction;
By the first Hook Function, this first function is performed instruction to modify, so that this first function performs instruction Instruction performs this very first time acquisition function outside this application program;
Jump to perform this very first time acquisition function according to this first function instruction.
This first function performs instruction before modification, and instruction originally performs the information function within application program, By the amendment to it of first Hook Function so that this first function performs instruction instruction and performs very first time acquisition function, than As, the execution Android system Native time obtains function.
Alternatively, in the present embodiment, function performs instruction and can indicate this letter of execution by the way of pointing to function address The function that number address is corresponding;At this point it is possible to the function address pointed to by performing instruction is modified, (as replaced) makes this Perform instruction instruction and perform other functions, for example, it is possible to the first function is performed the letter that instruction is corresponding by the first Hook Function Number address code is modified, and this function address code replaces to the code of very first time acquisition function address.
Namely step " performs instruction by the first Hook Function to this first function to modify " may include that
By the first Hook Function, this first function performs the function address that instruction points to be revised as this very first time and obtain Take the function address of function.
Such as, the first function performs instruction and points to the function address of function B originally, now can pass through the first Hook Function The address that this first function performs instruction sensing replaces with the function address of function A, and such system just can be according to the first letter Number performs instruction and jumps to perform function B.
In the present embodiment, Hook Function can be the Hook Function (i.e. Native Hook function) that system is local, this hook Function can be arranged the most in systems, it is possible to corresponding, this Hook Function is instructed association.
Alternatively, when object function exists and calls function (function that i.e. object function directly or indirectly calls), this Embodiment can also obtain function acquisition by the very first time and call the Starting Executing Time of function, namely step " jumps to hold The row very first time outside this application program obtains function, to obtain the Starting Executing Time of this object function " may include that
Jumping to perform the very first time outside this application program obtains function, with obtain this object function start perform Time and the Starting Executing Time calling function of object function.
102, when having performed this very first time acquisition function, jump to perform this object function.
Such as, jump to perform this object function when having performed the Return of very first time acquisition function;Namely holding Gone the very first time obtain function Return time think has performed this very first time acquisition function.
In the present embodiment when having performed very first time acquisition function, in addition it is also necessary to return performance objective function, specifically, can To be realized by function return execution instruction, namely step " jumps to perform this object function " may include that
Obtaining function return and perform instruction, this function returns execution instruction instruction needs and returns this object function of execution;
Return execution instruction according to this function to jump to perform this object function.
Such as, can function be set in very first time acquisition function and return the code performing instruction correspondence, this code bag Containing returning the function address code performed;When having performed the Return that the very first time obtains function, this code is converted into letter Number returns and performs instruction, then, returns execution instruction according to this function and redirects this object function of execution.
103, when having performed this object function, the second time acquisition function performed outside this application program is jumped to, To obtain the execution deadline of this object function.
In the present embodiment, determine that the mode having performed object function can have multiple, can set according to the actual requirements, than As, can may determine that when having performed the return of object function and now perform this object function;Namely step " is performing During this object function complete, jump to the second time acquisition function performed outside this application program " may include that
When having performed the return of object function, jump to the second time acquisition letter performed outside this application program Number.
When the present embodiment method is applied at Dalvik (virtual machine), the executive agent of this step can be virtual machine, also Step " when having performed this object function, jump to the second time acquisition function performed outside this application program " can be wrapped Include: virtual machine is when having performed this object function, and virtual machine jumps to the second time acquisition letter performed outside this application program Number.
Equally, in the present embodiment, the second time acquisition function is positioned at outside application program, and this function is used for obtaining target letter The execution deadline of number, this execution deadline can be a timestamp;Wherein, this second time acquisition function can be User-defined function, this second time acquisition function can complete specifically for obtaining the execution of function identification and correspondence thereof Time etc..
Alternatively, in the present embodiment, the second time obtained function can also be the local function in terminal operating system, than Such as this locality (Native) function in Android system.
Alternatively, the present embodiment equally use Hook realize jumping to perform the second time acquisition function, its The speed that function redirects can be improved;Namely step i.e. step " jumps to perform outside this application program by the second Hook Function Second time in portion obtains function " may include that
Obtain the second function and perform instruction;
By the second Hook Function, this second function is performed instruction to modify, so that this second function performs instruction Instruction performs this second time acquisition function outside this application program;
Jump to perform this second time acquisition function according to this second function instruction.
This second function performs instruction before modification, and instruction originally performs the information function within application program, By the amendment to it of second Hook Function so that this second function performs instruction instruction and performs the second time acquisition function, than As, the execution Android system Native time obtains function.
Equally, the function address that the present embodiment can point to by the second function performs instruction is modified, it is achieved jump Turn and perform to the second time to obtain function, namely step " performs instruction by the second Hook Function to this second function to repair Change " may include that
By the second Hook Function, this second function performs the function address that instruction points to be revised as this second time and obtain Take the function address of function.
Repair for example, it is possible to the second function is performed to instruct corresponding function address code by the second Hook Function Changing, second time that replaced to by this function address code obtains the code of function address.
Alternatively, when object function exists and calls function (function that i.e. object function directly or indirectly calls), this Embodiment can also obtain function acquisition by the second time and call the Starting Executing Time of function, namely step " jumps to hold The row very first time outside this application program obtains function, to obtain the Starting Executing Time of this object function " may include that
Jumping to perform the second time outside this application program obtains function, terminates obtaining the execution of this object function Time and the execution end time calling function of object function.
In the present embodiment, the first Hook Function and the second Hook Function can be integrated in a Hook Function, to save Resource.
104, the execution duration of this object function is obtained according to this Starting Executing Time and this execution deadline.
Such as, can be complete according to this Starting Executing Time and this execution in having performed application program after all functions The one-tenth time obtains the execution duration of this object function;When can also obtain execution during function in performing application program Long, obtain i.e. in real time and perform duration, so can improve duration acquisition speed.
Alternatively, in the present embodiment the time obtain function can be obtaining time corresponding to object function (when starting to perform Between or perform the deadline) after, or obtain object function and call function time (Starting Executing Time or Perform the deadline), this time is write corresponding information aggregate, in the case, the present embodiment can be from this information aggregate Starting Executing Time that middle reading object function is corresponding, perform the deadline, or target can be read from this information aggregate The Starting Executing Time calling function of function, perform the deadline, then, according to the Starting Executing Time of function with performed The one-tenth time obtains the execution duration of this function.Wherein, this information aggregate may be located in memory element, and such as, memory element can Think data base, internal memory etc..
Specifically, step " when obtaining the execution of this object function according to this Starting Executing Time and this execution deadline Long " may include that
Obtain the time interval between this Starting Executing Time and this execution deadline, to obtain holding of this object function Row duration.
In the present embodiment, the time of function can be represented by the function identification of this function and corresponding time, such as, The time (Starting Executing Time or execution deadline) of object function, can be by the function identification of object function and time (Starting Executing Time or execution deadline) represents, the time calling function of object function can be called function by this Function identification and time representation, such as call the execution deadline of function, can by call function function identification and The execution deadline represents.Exist at object function and call function, and the present embodiment also obtain call function start hold In the case of row time, execution deadline, the present embodiment can also (start to perform according to the time of function identification and correspondence thereof Time and/or perform the deadline) obtain object function call stack.
Such as, object function is function A, and function B, C are called in function A existence, and the present embodiment can obtain letter by the time Number obtains the Starting Executing Time of function A, has performed the time, calls the Starting Executing Time of function B, has performed the time, adjusts With the Starting Executing Time of function C, performed the time, when with function identification and time representation namely obtain A/begin time、B/begin time、C/begin time、A/return time、B/return time、B/return time;So After, the time based on function identification and correspondence thereof can obtain the call stack of function A, such as function A-> function B-> function C.
Alternatively, it is contemplated that in application program, function call is more complicated, function numbers is many, if the time letter that will obtain Breath write local file, the performance of system and application program may be affected, cause function perform time-consuming not statistical uncertainty really;In order to Overcoming this problem, the present embodiment can store temporal information to use shared drive mode and read temporal information;Namely:
Step " jumps to the very first time acquisition function performed outside this application program, to obtain opening of this object function Execution time beginning " step specifically include:
Jumping to perform the very first time outside this application program obtains function, with obtain this object function start perform This Starting Executing Time is also write in shared drive by the time;
Step " jumps to the second time acquisition function performed outside this application program, to obtain holding of this object function The row deadline " step specifically include:
Jumping to perform the second time outside this application program obtains function, completes obtaining the execution of this object function This execution deadline is also write in this shared drive by the time;
Now, step " obtains the execution duration of this object function " according to this Starting Executing Time and this execution deadline May include that
This Starting Executing Time and this execution deadline is extracted from this shared drive;
The execution duration of this object function is calculated according to this Starting Executing Time and this execution deadline.
In actual applications, can separately open a process and to read from shared drive the time letter that object function is corresponding Breath.
Alternatively, owing in the present embodiment method, time acquisition function is positioned at outside application program, can be such as system Local function, it is unrelated with application program itself, is not limited by application program, and therefore, this time obtains function and can also obtain In extract operation system function Starting Executing Time and perform the deadline, such that it is able to statistical operation system function perform Time-consumingly;In actual implementation process, only the object function in application program in the present embodiment need to be replaced with in operating system Function;Such as, the present embodiment method can add up Android Framework in Android system (Android application framework) layer Function time-consuming, improves compatibility and the scope of application that function is time-consumingly added up.
The embodiment of the present invention uses and jumps to when starting the object function performed within application program perform this application journey Very first time outside sequence obtains function, to obtain the Starting Executing Time of this object function, then, performed this first time Between obtain function time jump to perform this object function, jump to when having performed this object function perform outside this application program The second time obtain function, to obtain the execution deadline of this object function, according to this Starting Executing Time and this execution Deadline obtains the execution duration of this object function;The program can obtain function by the time outside application program and obtain Take the Starting Executing Time of object function and perform the deadline, then, completing based on this Starting Executing Time and execution The execution that time obtains this object function is time-consuming, when being obtained by the time acquisition function outside application program due to the program Between, do not interfere with the performance of application program self, for prior art, can improve what function was time-consumingly added up Accuracy.
Additionally, the present embodiment scheme can also have the strongest compatibility, can be to letter in the application program of various versions The execution of number is time-consumingly added up, it is also possible to the execution to functions various in operating system is time-consumingly added up;Such as can be right In outer net release (issue) version application program, the execution of function is time-consumingly added up, and can solve application with assists developers Program runs the problem of card, improves the speed that application program optimizes, the most such as can add up Android Framework layer letter Number execution is time-consuming.
Embodiment two,
According to the method described by embodiment one, below citing is described in further detail.
In the present embodiment, will illustrate as a example by this duration acquisition device is specifically integrated in terminal virtual machine.Ratio As, this duration acquisition device can be integrated in this terminal virtual machine in the form of software.Wherein, this terminal virtual machine can be Android Dalvik (Android virtual machine) or other virtual machines.
As shown in Figure 2 a, the idiographic flow of this duration acquisition methods can be such that
201, terminal virtual machine is when performing the begin of object function in application program, obtains the first function and performs instruction.
In the present embodiment, this object function can also be the function of various version application program, such as, release version Function in application program;In the present embodiment, object function can be only limitted to the function of application, it is also possible to for the letter of terminal system Number etc., the such as function of Android application framework layer.
In the present embodiment, the first function performs instruction can indicate the information function within application program originally.
Such as, terminal virtual machine calls the object function in application program, then, terminal virtual machine performance objective function, When going to the begin of object function, obtain the first function and perform instruction.
202, terminal virtual machine performs instruction by the first Hook Function to this first function and modifies so that this One function performs instruction instruction and performs very first time acquisition function.
Wherein, the very first time obtains function can be with the function outside application program, such as terminal system this locality Native letter Number;This first Hook Function can also be terminal system this locality Native function.It can be user that this very first time obtains function Self-defining system this locality function, is such as the self-defining function of android system this locality.
Specifically, the first function can be performed the function address that instruction is pointed to by the first Hook Function by terminal virtual machine Replace with the function address of very first time acquisition function, so that this first function performs instruction instruction and performs very first time acquisition Function.
203, terminal virtual machine jumps to perform this very first time acquisition function according to this first function instruction, is somebody's turn to do to obtain The Starting Executing Time of object function, and this Starting Executing Time is write shared drive.
With reference to Fig. 2 b, as a example by object function is for function A, when performing the begin of function A after calling function A, can obtain First function performs instruction, and this first function performs instruction instruction originally and performs the information function within application program DvmReportInvoke, if not to instruction modification, then now terminal virtual machine will perform information function dvmReportInvoke;Current embodiment require that and this instruction is adapted so that, and this instruction instruction performs self-defining information Collecting function myDvmReportInvoke, now, terminal virtual machine will perform instruction according to the first function and jump to perform certainly Definition information collects function myDvmReportInvoke, to obtain the Starting Executing Time (begin time) of function A, and will This Starting Executing Time (begin time) write shared drive.
Statistical function performs time-consuming for convenience, improves Statistical Speed, can use " object function mark in the present embodiment Knowledge/Starting Executing Time " this message structure represents the Starting Executing Time of object function, now, terminal virtual machine is permissible This for object function mark/Starting Executing Time message structure is write shared drive, such as, by A/begin time write altogether Enjoy internal memory.
In actual applications, if object function existence function calls, the present embodiment also needs to be obtained by the very first time Take function and obtain the Starting Executing Time calling function of object function;Namely step 203 can specifically include:
Terminal virtual machine jumps to perform this very first time acquisition function, to obtain this target according to this first function instruction The Starting Executing Time of function and call the Starting Executing Time of function, and by the Starting Executing Time of scalar functions and call Function Starting Executing Time write shared drive, wherein, this call function be object function call function.
Such as, when function A exists and calls function B, now, terminal virtual machine can be collected by performing self-defined information Function myDvmReportInvoke, to obtain the Starting Executing Time of function A, the Starting Executing Time of function B, and by function A Starting Executing Time, function B Starting Executing Time write shared drive;Such as, by A/begin time, B/begin Time writes shared drive.
204, when terminal virtual machine has performed the return that the very first time obtains function, jump to perform this target letter Number.
Such as, with reference to Fig. 2 b, terminal virtual machine is performing the return of information function myDvmReportInvoke Time, execution function A can be returned.
205, when terminal virtual machine has performed the return of this object function, obtain the second function and perform instruction.
Such as, with reference to Fig. 2 b, when having performed function A, obtaining the second function and perform instruction, this instruction instruction performs should With the information function dvmReportReturn within program.
206, terminal virtual machine performs instruction by the second Hook Function to this second function and modifies so that this Two functions perform instruction instruction and perform the second time acquisition function.
Such as, with reference to Fig. 2 b, if the second function not being performed instruction modification, then now terminal virtual machine will Perform information function dvmReportReturn;But, the present embodiment by Hook Function to second function perform instruct into Row amendment so that it is instruction performs local self-defining information function myDvmReportReturn.
207, terminal virtual machine jumps to perform this second time acquisition function, to obtain according to the execution instruction of this second function Take the execution deadline of this object function, and this execution deadline is write shared drive.
Such as, with reference to Fig. 2 b, after to instruction modification, terminal virtual machine can perform instruction according to the second function and jump to Perform local self-defining information function myDvmReportReturn, to obtain the execution deadline of function A (return time), and will perform in deadline write shared drive.The present embodiment can use " object function mark/ Performing the deadline " this message structure represents the execution deadline of object function, now, terminal virtual machine can be by mesh Scalar functions identifies/performs deadline this message structure write shared drive, such as, A/return time write is shared Internal memory.
In actual applications, if object function existence function calls, the present embodiment also needs to be obtained by the second time Take function and obtain the execution end time calling function of object function;Namely step 207 can specifically include:
Terminal virtual machine performs instruction according to this second function and jumps to perform this second time acquisition function, is somebody's turn to do to obtain The performing the deadline and call execution deadline of function of object function, and by the execution deadline of this object function And call function the execution deadline write shared drive, wherein this call function be object function call function.
Such as, when function A exists and calls function B, now, terminal virtual machine can be collected by performing self-defined information Function myDvmReportReturn, to obtain execution end time, the execution end time of function B of function A, and will perform End time write shared drive;Such as, A/return time, B/return time is write shared drive.
208, terminal virtual machine is extracted the Starting Executing Time of object function from this shared drive, is performed the deadline.
When object function exists and calls function, this enforcement needs obtain object function and call when starting to perform of function Between, object function and call execution deadline of function, therefore, shared drive can store object function start perform Time and the Starting Executing Time and the execution deadline that have performed, called function, such as, letter is called in object function A existence When number B etc. calls function, the information of shared drive storage can be such that
Function A/begin time
Function B/begin time
……
Function B/return time
Function A/return time.
Now, in the present embodiment, terminal virtual machine is possible not only to from shared drive extract when starting to perform of object function Between and perform the deadline, it is also possible to from shared drive, extract the Starting Executing Time calling function of object function and execution Deadline.
209, terminal virtual machine calculating target function corresponding perform the deadline corresponding with object function start execution Time interval between time, to obtain the execution duration of this object function.
Time between the return time of the begin time function A that such as terminal virtual machine can calculate function A Interval or time difference, time-consuming to obtain the execution of function A.
In the case of object function exists and calls function, terminal virtual machine may call upon corresponding beginning of function and holds Row time and execution deadline obtain the execution duration calling function.
Such as terminal virtual machine can calculate between the time called between the begin time of function B and return time Every or time difference, time-consuming to obtain calling the execution of function B.
Alternatively, using function identification time corresponding with time representation function (such as A/return time representative function The execution deadline of A) in the case of, it is also possible to according to time of function identification and correspondence thereof (Starting Executing Time and/or hold The row deadline) obtain object function call stack.Such as, can according to the mark of function A and the time of correspondence thereof, call letter The mark of number B and the time of correspondence thereof ... other marks calling function N and the time of correspondence thereof, obtain calling of function A Stack, i.e. function A-> function B-> ... function N.
The embodiment of the present invention uses and jumps to when starting the object function performed within application program perform this application journey Very first time outside sequence obtains function, to obtain the Starting Executing Time of this object function, then, performed this first time Between obtain function time jump to perform this object function, jump to when having performed this object function perform outside this application program The second time obtain function, to obtain the execution deadline of this object function, according to this Starting Executing Time and this execution Deadline obtains the execution duration of this object function;The program can obtain function by the time outside application program and obtain Take the Starting Executing Time of object function and perform the deadline, then, completing based on this Starting Executing Time and execution The execution that time obtains this object function is time-consuming, when being obtained by the time acquisition function outside application program due to the program Between, do not interfere with the performance of application program self, for prior art, can improve what function was time-consumingly added up Accuracy.
Additionally, the present embodiment scheme can also have the strongest compatibility, can be to letter in the application program of various versions The execution of number is time-consumingly added up, it is also possible to the execution to functions various in operating system is time-consumingly added up;Such as can be right In outer net release (issue) version application program, the execution of function is time-consumingly added up, and can solve application with assists developers Program runs the problem of card, improves the speed that application program optimizes, the most such as can add up Android Framework layer letter Number execution is time-consuming.
Embodiment three,
In order to preferably implement above method, the embodiment of the present invention also provides for growth device during one, as it is shown on figure 3, this time Long acquisition device includes the first jump-transfer unit the 301, second jump-transfer unit the 302, the 3rd jump-transfer unit 303 and duration acquiring unit 304, as follows:
(1) first jump-transfer unit 301;
First jump-transfer unit 301, for when starting the object function performed within application program, jumps to perform to answer Function is obtained, to obtain the Starting Executing Time of this object function with the very first time outside program.
Such as, this first jump-transfer unit 301, can be specifically for jumping to perform this application journey by the first Hook Function The very first time outside sequence obtains function.
Specifically, this first jump-transfer unit 301 may include that the first instruction obtains subelement, the first instruction modification sub-list Unit and first redirects subelement;
This first instruction obtains subelement, performs instruction for obtaining the first function;
This first instruction modification subelement, repaiies for this first function being performed instruction by the first Hook Function Change, so that this first function performs instruction instruction and performs this very first time acquisition function outside this application program;
This first redirects subelement, obtains function for jumping to perform this very first time according to this first function instruction.
Specifically, this first instruction modification subelement, specifically for: by the first Hook Function, this first function is performed The function address that instruction is pointed to is revised as the function address of this very first time acquisition function.
In the present embodiment, the first jump-transfer unit 301 can be specifically for: jumps to perform first outside this application program Time obtains function, to obtain the Starting Executing Time of this object function and by this Starting Executing Time write shared drive.
In the present embodiment, the very first time obtains function and is positioned at outside application program, and this function is for obtaining object function Starting Executing Time, this Starting Executing Time can be a timestamp;Wherein, this very first time obtains function can be user Self-defining function;Specifically, this very first time obtain function may be used for obtaining function identification and correspondence thereof start perform Time etc..
Wherein, in the present embodiment, the very first time obtains function can be the local function in terminal operating system, such as pacifies This locality (Native) function in tall and erect system.
(2) second jump-transfer unit 302;
Second jump-transfer unit 302, for when having performed this very first time acquisition function, jumping to perform this target letter Number.
Such as, this second jump-transfer unit 302 may be used for, and redirects when having performed the Return of very first time acquisition function To performing this object function.
Specifically, this second jump-transfer unit 302 can be specifically for:
Obtaining function return and perform instruction, this function returns execution instruction instruction needs and returns this object function of execution;
Return execution instruction according to this function to jump to perform this object function.
(3) the 3rd jump-transfer unit 303;
3rd jump-transfer unit 303, for when having performed this object function, jumps to perform the outside this application program Two times obtained function, to obtain the execution deadline of this object function.
Such as, the 3rd jump-transfer unit 303, can be specifically for jumping to perform this application journey by the second Hook Function The second time outside sequence obtains function.
Wherein, the 3rd jump-transfer unit 303 may include that second instruction obtain subelement, the second instruction modification subelement with And second redirect subelement;
This second instruction obtains subelement, performs instruction for obtaining the second function;
This second instruction modification subelement, repaiies for this second function being performed instruction by the second Hook Function Change, so that this second function performs instruction instruction and performs this second time acquisition function outside this application program;
This second redirects subelement, obtains function for jumping to perform this second time according to this second function instruction.
Such as, this second instruction modification subelement, specifically for: perform to refer to by this second function by the second Hook Function The function address that order is pointed to is revised as the function address of this second time acquisition function.
In the present embodiment, the 3rd jump-transfer unit 303 can be specifically for: jumps to perform second outside this application program Time obtains function, to obtain the execution deadline of this object function and this execution deadline is write this shared drive In.
In the present embodiment, the second time acquisition function is positioned at outside application program, and this function is for obtaining holding of object function The row deadline, this execution deadline can be a timestamp;Wherein, this second time obtain function can be user oneself The function of definition, this second time obtains function can be specifically for obtaining function identification and the execution deadline etc. of correspondence thereof Deng.
Wherein, in the present embodiment, the second time obtained function can be the local function in terminal operating system, such as pacifies This locality (Native) function in tall and erect system.
(4) duration acquiring unit 304;
Duration acquiring unit 304, for obtaining this object function according to this Starting Executing Time and this execution deadline Execution duration.
Such as, this duration acquiring unit 304 can have for: extract from this shared drive this Starting Executing Time and This execution deadline;
The execution duration of this object function is calculated according to this Starting Executing Time and this execution deadline.
The most such as duration acquiring unit 304, can be specifically for obtaining this Starting Executing Time and this execution deadline Between time interval, to obtain the execution duration of this object function.
When being embodied as, above unit can realize as independent entity, it is also possible to carries out combination in any, makees Realize for same or several entities, the embodiment of the method being embodied as can be found in above of above unit, at this not Repeat again.
This duration acquisition device specifically can be integrated in the equipment such as terminal, and this terminal is specifically as follows mobile phone, flat board electricity The equipment such as brain or PC.
The duration acquisition device of the embodiment of the present invention is performed within application program starting by the first jump-transfer unit 301 Jumping to perform the very first time outside this application program during object function obtains function, with obtain this object function start hold The row time, then, the second jump-transfer unit 302 jump to perform this target letter when having performed this very first time acquisition function Number, is jumped to, by the 3rd jump-transfer unit 303, the second time performed outside this application program and obtains when having performed this object function Take function, to obtain the execution deadline of this object function, by duration obtain the most such 304 according to this Starting Executing Time and This execution deadline obtains the execution duration of this object function;The program can obtain letter by the time outside application program Number obtains the Starting Executing Times of object function and performs the deadline, then, based on this Starting Executing Time and hold The execution that the row deadline obtains this object function is time-consuming, owing to the program obtains function by the time outside application program The acquisition time, do not interfere with the performance of application program self, for prior art, function can be improved time-consuming Statistical accuracy.
Additionally, the present embodiment scheme can also have the strongest compatibility, can be to letter in the application program of various versions The execution of number is time-consumingly added up, it is also possible to the execution to functions various in operating system is time-consumingly added up;Such as can be right In outer net release (issue) version application program, the execution of function is time-consumingly added up, and can solve application with assists developers Program runs the problem of card, improves the speed that application program optimizes, the most such as can add up Android Framework layer letter Number execution is time-consuming.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completing instructing relevant hardware by program, this program can be stored in a computer-readable recording medium, storage Medium may include that read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
A kind of duration acquisition methods provided the embodiment of the present invention above and device are described in detail, herein Applying specific case to be set forth principle and the embodiment of the present invention, the explanation of above example is only intended to help Understand method and the core concept thereof of the present invention;Simultaneously for those skilled in the art, according to the thought of the present invention, at tool All will change on body embodiment and range of application, in sum, this specification content should not be construed as the present invention Restriction.

Claims (14)

1. a duration acquisition methods, it is characterised in that including:
When starting the object function performed within application program, jumping to the very first time performed outside described application program obtains Take function, to obtain the Starting Executing Time of described object function;
When having performed acquisition function of the described very first time, jump to perform described object function;
When having performed described object function, jump to the second time acquisition function performed outside described application program, to obtain Take the execution deadline of described object function;
The execution duration of described object function is obtained according to described Starting Executing Time and described execution deadline.
2. duration acquisition methods as claimed in claim 1, it is characterised in that described in jump to perform outside described application program The very first time obtain function step specifically include:
The very first time acquisition function performed outside described application program is jumped to by the first Hook Function;
The described step jumping to perform the second time acquisition function outside described application program specifically includes:
The the second time acquisition function performed outside described application program is jumped to by the second Hook Function.
3. duration acquisition methods as claimed in claim 2, it is characterised in that described jump to perform by the first Hook Function The very first time outside described application program obtains the step of function and specifically includes:
Obtain the first function and perform instruction;
By the first Hook Function, described first function is performed instruction to modify, so that described first function performs instruction Instruction performs acquisition of the described very first time function outside described application program;
Jump to perform acquisition of described very first time function according to described first function instruction.
4. duration acquisition methods as claimed in claim 3, it is characterised in that described first Hook Function that passes through is to described first Function performs to instruct the step modified and specifically includes:
By the first Hook Function, described first function performs the function address that instruction points to be revised as the described very first time and obtain Take the function address of function.
5. duration acquisition methods as claimed in claim 2, it is characterised in that described jump to perform by the second Hook Function The second time outside described application program obtains the step of function and specifically includes:
Obtain the second function and perform instruction;
By the second Hook Function, described second function is performed instruction to modify, so that described first function performs instruction Described second time that instruction performs outside described application program obtains function;
Jump to perform acquisition of described very first time function according to described second function instruction.
6. duration acquisition methods as claimed in claim 5, it is characterised in that described second Hook Function that passes through is to described second Function performs to instruct the step modified and specifically includes:
By the second Hook Function, described second function performs the function address that instruction points to be revised as described second time and obtain Take the function address of function.
7. duration acquisition methods as claimed in claim 1, it is characterised in that
The described very first time acquisition function jumping to perform outside described application program, to obtain the beginning of described object function The step of execution time specifically includes:
Jumping to perform the very first time outside described application program obtains function, with obtain described object function start perform Described Starting Executing Time is also write in shared drive by the time;
Described the second time acquisition function jumping to perform outside described application program, to obtain the execution of described object function The step of deadline specifically includes:
Jumping to perform the second time outside described application program obtains function, completes obtaining the execution of described object function The described execution deadline is also write in described shared drive by the time;
The described step performing duration obtaining described object function according to described Starting Executing Time and described execution deadline Suddenly specifically include:
Described Starting Executing Time and described execution deadline is extracted from described shared drive;
The execution duration of described object function is calculated according to described Starting Executing Time and described execution deadline.
8. a duration acquisition device, it is characterised in that including:
First jump-transfer unit, for when starting the object function performed within application program, jumps to perform described application journey The very first time outside sequence obtains function, to obtain the Starting Executing Time of described object function;
Second jump-transfer unit, for when having performed acquisition function of the described very first time, jumping to perform described object function;
3rd jump-transfer unit, for when having performed described object function, jumps to perform second outside described application program Time obtains function, to obtain the execution deadline of described object function;
Duration acquiring unit, for obtaining described object function according to described Starting Executing Time and described execution deadline Perform duration.
9. duration acquisition device as claimed in claim 8, it is characterised in that
Described first jump-transfer unit, specifically for: jump to perform outside described application program by the first Hook Function One time obtained function;
Described 3rd jump-transfer unit, specifically for jumping to perform second outside described application program by the second Hook Function Time obtains function.
10. duration acquisition device as claimed in claim 9, it is characterised in that described first jump-transfer unit, specifically includes: the One instruction obtains subelement, the first instruction modification subelement and first redirects subelement;
Described first instruction obtains subelement, performs instruction for obtaining the first function;
Described first instruction modification subelement, repaiies for described first function being performed instruction by the first Hook Function Change, so that described first function performs instruction instruction and performs acquisition of the described very first time function outside described application program;
Described first redirects subelement, for jumping to perform acquisition of described very first time letter according to described first function instruction Number.
11. duration acquisition device as claimed in claim 10, it is characterised in that described first instruction modification subelement, specifically For: by the first Hook Function, described first function performed the function address that instruction points to and be revised as the described very first time and obtain Take the function address of function.
12. duration acquisition device as claimed in claim 9, it is characterised in that described 3rd jump-transfer unit, specifically include: the Two instructions obtain subelement, the second instruction modification subelement and second redirects subelement;
Described second instruction obtains subelement, performs instruction for obtaining the second function;
Described second instruction modification subelement, repaiies for described second function being performed instruction by the second Hook Function Change, so that described second function performs instruction instruction and performs the described second time acquisition function outside described application program;
Described second redirects subelement, for jumping to perform described second time acquisition letter according to described second function instruction Number.
13. duration acquisition device as claimed in claim 12, it is characterised in that described second instruction modification subelement, specifically For: by the second Hook Function, described second function performed the function address that instruction points to and be revised as described second time and obtain Take the function address of function.
14. duration acquisition device as claimed in claim 8, it is characterised in that
Described first jump-transfer unit, obtains function specifically for jumping to the very first time performed outside described application program, with Obtain the Starting Executing Time of described object function and by described Starting Executing Time write shared drive;
Described 3rd jump-transfer unit, obtains function specifically for jumping to the second time performed outside described application program, with Obtain the execution deadline of described object function and the described execution deadline is write in described shared drive;
Described duration acquiring unit, specifically for:
Described Starting Executing Time and described execution deadline is extracted from described shared drive;
The execution duration of described object function is calculated according to described Starting Executing Time and described execution deadline.
CN201610338973.5A 2016-05-20 2016-05-20 Method and device for duration acquisition Pending CN106055462A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610338973.5A CN106055462A (en) 2016-05-20 2016-05-20 Method and device for duration acquisition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610338973.5A CN106055462A (en) 2016-05-20 2016-05-20 Method and device for duration acquisition

Publications (1)

Publication Number Publication Date
CN106055462A true CN106055462A (en) 2016-10-26

Family

ID=57177236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610338973.5A Pending CN106055462A (en) 2016-05-20 2016-05-20 Method and device for duration acquisition

Country Status (1)

Country Link
CN (1) CN106055462A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106959918A (en) * 2017-04-25 2017-07-18 百度在线网络技术(北京)有限公司 Method and apparatus for evaluating and testing the operation in robot operating system
CN107025173A (en) * 2017-04-05 2017-08-08 腾讯科技(深圳)有限公司 The method of testing and device of a kind of function timing
CN107168857A (en) * 2017-03-31 2017-09-15 武汉斗鱼网络科技有限公司 The method and component of a kind of function call in statistics application program
CN107957931A (en) * 2017-11-23 2018-04-24 泰康保险集团股份有限公司 A kind of method and device for monitoring run time
CN108197004A (en) * 2018-01-23 2018-06-22 武汉斗鱼网络科技有限公司 The method of IOS applications takes, loads monitoring method and system that view takes
CN108241568A (en) * 2016-12-26 2018-07-03 北京国双科技有限公司 A kind of duration statistical method and relevant apparatus
CN108334432A (en) * 2018-01-31 2018-07-27 北京奇艺世纪科技有限公司 A kind of performance monitoring method and device of application program
CN109634822A (en) * 2018-11-27 2019-04-16 平安科技(深圳)有限公司 A kind of function time-consuming statistical method, device, storage medium and terminal device
CN109783161A (en) * 2018-12-11 2019-05-21 北京三快在线科技有限公司 The operation information of application program determines method, apparatus in iOS system
CN110580220A (en) * 2019-08-12 2019-12-17 百富计算机技术(深圳)有限公司 method for measuring execution time of code segment and terminal equipment
CN111104104A (en) * 2019-11-04 2020-05-05 珠海亿智电子科技有限公司 Method and device for visualizing function call time and statistical result and readable medium
CN112711427A (en) * 2019-10-24 2021-04-27 华为技术有限公司 Method and device for acquiring mirror image file

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477491A (en) * 2009-01-16 2009-07-08 杭州华三通信技术有限公司 Method and apparatus for function running state statistics
CN105139122A (en) * 2015-08-21 2015-12-09 福建天晴数码有限公司 Program operation time duration statistics method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477491A (en) * 2009-01-16 2009-07-08 杭州华三通信技术有限公司 Method and apparatus for function running state statistics
CN105139122A (en) * 2015-08-21 2015-12-09 福建天晴数码有限公司 Program operation time duration statistics method and system

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108241568A (en) * 2016-12-26 2018-07-03 北京国双科技有限公司 A kind of duration statistical method and relevant apparatus
CN107168857B (en) * 2017-03-31 2021-01-01 武汉斗鱼网络科技有限公司 Method and assembly for counting function calls in application program
CN107168857A (en) * 2017-03-31 2017-09-15 武汉斗鱼网络科技有限公司 The method and component of a kind of function call in statistics application program
CN107025173A (en) * 2017-04-05 2017-08-08 腾讯科技(深圳)有限公司 The method of testing and device of a kind of function timing
CN107025173B (en) * 2017-04-05 2021-08-31 腾讯科技(深圳)有限公司 Method and device for testing function execution time
CN106959918A (en) * 2017-04-25 2017-07-18 百度在线网络技术(北京)有限公司 Method and apparatus for evaluating and testing the operation in robot operating system
CN107957931A (en) * 2017-11-23 2018-04-24 泰康保险集团股份有限公司 A kind of method and device for monitoring run time
CN108197004A (en) * 2018-01-23 2018-06-22 武汉斗鱼网络科技有限公司 The method of IOS applications takes, loads monitoring method and system that view takes
CN108197004B (en) * 2018-01-23 2021-04-27 武汉斗鱼网络科技有限公司 IOS application method time consumption and view loading time consumption monitoring method and system
CN108334432A (en) * 2018-01-31 2018-07-27 北京奇艺世纪科技有限公司 A kind of performance monitoring method and device of application program
CN109634822A (en) * 2018-11-27 2019-04-16 平安科技(深圳)有限公司 A kind of function time-consuming statistical method, device, storage medium and terminal device
CN109783161A (en) * 2018-12-11 2019-05-21 北京三快在线科技有限公司 The operation information of application program determines method, apparatus in iOS system
CN109783161B (en) * 2018-12-11 2020-08-04 北京三快在线科技有限公司 Method and device for determining running information of application program in iOS system
CN110580220A (en) * 2019-08-12 2019-12-17 百富计算机技术(深圳)有限公司 method for measuring execution time of code segment and terminal equipment
CN112711427A (en) * 2019-10-24 2021-04-27 华为技术有限公司 Method and device for acquiring mirror image file
WO2021077916A1 (en) * 2019-10-24 2021-04-29 华为技术有限公司 Method and device for acquiring mirror image file
CN111104104A (en) * 2019-11-04 2020-05-05 珠海亿智电子科技有限公司 Method and device for visualizing function call time and statistical result and readable medium

Similar Documents

Publication Publication Date Title
CN106055462A (en) Method and device for duration acquisition
CN104461894B (en) The operation record device and method of Android software
CN104252410B (en) The method and apparatus that a kind of control in the page is tested
CN107193733A (en) Simulate the methods, devices and systems of Monkey tests
CN103763433B (en) The progress control method of terminal applies and system
CN110221959B (en) Application program testing method, device and computer readable medium
RU2008139895A (en) METHOD AND SYSTEM FOR ORGANIZING EVENTS IN MOBILE RADIO TERMINAL
CN101989225A (en) Method and device for automated test based on breakpoint
CN103164300A (en) Mobile terminal touch screen automatic testing method and device
CN104915297B (en) A kind of automated testing method of the APP power consumption of android equipment
CN103942823A (en) Game engine rendering method and device
CN115357515B (en) Debugging method and device of multi-core system, computer equipment and storage medium
US6598181B1 (en) Method and system for debugging multiple function calls
CN107544811B (en) Method, storage medium, electronic device and system for hiding dylib file in IOS platform
CN106919501A (en) Static Analysis Method and instrument based on defect mode
CN103092759A (en) Code dynamic property parser in embedded environment
CN113778890B (en) Code testing method and device, electronic equipment and storage medium
CN109558307B (en) Game program testing method and system
CN109426496B (en) Method for writing program log into file, storage medium, electronic device and system
CN109740041A (en) Web page crawl method, apparatus, storage medium and computer equipment
CN109445790A (en) Implementation method, device, terminal and the storage medium fast instructed in application program
CN109240700A (en) Key code localization method and system
CN112036843A (en) Flow element positioning method, device, equipment and medium based on RPA and AI
CN106055935A (en) Process control method and device and electronic equipment
CN102519514A (en) One-click automatic testing realization method of electronic test instrument

Legal Events

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

Application publication date: 20161026