CN106250200A - A kind of execution method dividing at least one software application section for computer - Google Patents
A kind of execution method dividing at least one software application section for computer Download PDFInfo
- Publication number
- CN106250200A CN106250200A CN201610624973.1A CN201610624973A CN106250200A CN 106250200 A CN106250200 A CN 106250200A CN 201610624973 A CN201610624973 A CN 201610624973A CN 106250200 A CN106250200 A CN 106250200A
- Authority
- CN
- China
- Prior art keywords
- processing unit
- application section
- section
- computer
- software application
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of execution method dividing at least one software application section for computer.Comprise the steps: that inquiry runs the amount processing core that time system is available to find described application section;Determine the maximum of the described section of processing unit that can be divided into;With based on the described amount determined in P1 and P2, described section is divided into the processing unit of optimum number;Processing unit performs the software application section being assigned to.The present invention, by the method that can be evenly distributed to carry out performing in computer for software application section, runs, by inquiry, the amount processing core that time system is available to find described application section, determines the maximum of the described section of processing unit that can be divided into;With described section is divided into the processing unit of optimum number, carry out the process performed, effectively utilize the available amount processing core of available processes unit.
Description
Technical field
The invention belongs to field of computer technology, particularly relate to one and divide at least one software application for computer
The execution method of section.
Background technology
Modern high end computer configuation comprises thousands of the most millions for the treatment of elements, a large amount of distributed memory,
And non local memorizer, networking component and the storage infrastructure of various rank.These systems are that execution is application consumed
Static state and the dynamic optimization of resource provide huge challenge.Traditionally, computer configuation makes great efforts to provide the most single, simply
The application in space, location, and offer itself is the most semantic to carry out code execution subsequently and data access.The normal form produced
For many years use good, but when by parallel processing rather than being distributed calculating and data and reality by faster clock rate
On realize all hardware accelerate time, described normal form hinders optimized allocation of resources.
Patent ZL200580036497.1 is (to program code in the computer system with at least two performance element
The method and apparatus performing to carry out separating) it is used in the computer system with at least two performance element program code
The method performing to carry out separating, wherein changes between at least two operational mode, and the first operational mode corresponds to
Comparison pattern, and the second operational mode is corresponding to performance mode, and at least two performance element performs phase in comparison pattern
Same program code, it is characterised in that be accomplished by program code when being transformed into performance mode from comparison pattern
Separation, i.e. give each performance element allocation identification, and according to described mark, different program codes distributed at least two
Individual performance element.
The program using Complied executing is commonly referred to as compiler, and this is the language processor that a class is critically important, its handle
High-level language source program, as input, carries out translation conversion, produces the target program of machine language, allow computer go the most again
Perform this target program, obtain result of calculation.
During compiler work, first analyze, the most comprehensively, thus obtain target program.So-called analyze, refer to morphological analysis and
Syntactic analysis;What is called comprehensively refers to code optimization, storage distribution and code building.In order to complete these analysis integrated tasks, compile
Translator program uses the way taking multiple scan source program, and scanning concentration completes one or several tasks every time, also has one
Share tasks has gone to scanning several times.
Summary of the invention
It is an object of the invention to provide a kind of execution method dividing at least one software application section for computer, logical
Cross inquiry and run the amount processing core that time system is available to find described application section, determine the described section of processing unit that can be divided into
Maximum;With described section is divided into the processing unit of optimum number, carry out the process performed, effectively utilize available processes
The available amount processing core of unit.
The present invention is achieved by the following technical solutions:
The present invention is a kind of execution method dividing at least one software application section for computer, comprises the steps:
P1 inquiry runs the amount processing core that time system is available to find described application section;
P2 determines the maximum of the described section of processing unit that can be divided into;With
P3, based on the described amount determined in P1 and P2, is divided into the processing unit of optimum number by described section;
P4 processing unit performs the software application section being assigned to.
Preferably, described processing unit appliance computer program is incorporated to perform controller.
The method have the advantages that
The present invention is by the method that can be evenly distributed to carry out performing in computer for software application section, by inquiry
Run the amount processing core that time system is available to find described application section, determine the maximum of the described section of processing unit that can be divided into
Amount;With described section is divided into the processing unit of optimum number, carry out the process performed, effectively utilize available processes unit
The available amount processing core.
Certainly, the arbitrary product implementing the present invention it is not absolutely required to reach all the above advantage simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, embodiment will be described required use below
Accompanying drawing is briefly described, it should be apparent that, the accompanying drawing in describing below is only some embodiments of the present invention, for ability
From the point of view of the those of ordinary skill of territory, 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 the flow chart of a kind of execution method dividing at least one software application section for computer of the present invention.
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, those of ordinary skill in the art obtained under not making creative work premise all other
Embodiment, broadly falls into the scope of protection of the invention.
Referring to shown in Fig. 1, the present invention is a kind of execution method dividing at least one software application section for computer,
Comprise the steps:
P1 inquiry runs the amount processing core that time system is available to find described application section;
P2 determines the maximum of the described section of processing unit that can be divided into;With
P3, based on the described amount determined in P1 and P2, is divided into the processing unit of optimum number by described section;
P4 processing unit performs the software application section being assigned to.
Wherein, processing unit appliance computer program is incorporated to perform controller.
One of the present embodiment has particular application as: runs time system and is embodied as user library in software, and within hardware
It is run time system core to implement to service some execution cores.In embodiments, described operation time system core can
Can be different from performing core, or be likely to be of specific hardware and help more effectively runtime operation.In embodiments,
Perform core can perform to run time system task, and may have or be likely not to have special core to carry out operation time system
System tasks carrying.
It should be noted that in said system embodiment, included unit simply carries out drawing according to function logic
Point, but it is not limited to above-mentioned division, as long as being capable of corresponding function;It addition, each functional unit is concrete
Title also only to facilitate mutually distinguish, is not limited to protection scope of the present invention.
It addition, one of ordinary skill in the art will appreciate that all or part of step realizing in the various embodiments described above method
The program that can be by completes to instruct relevant hardware, and corresponding program can be stored in an embodied on computer readable storage and be situated between
In matter, described storage medium, such as ROM/RAM, disk or CD etc..
Present invention disclosed above preferred embodiment is only intended to help to illustrate the present invention.Preferred embodiment is the most detailed
Describe all of details, be also not intended to the detailed description of the invention that this invention is only described.Obviously, according to the content of this specification,
Can make many modifications and variations.These embodiments are chosen and specifically described to this specification, is to preferably explain the present invention
Principle and actual application so that skilled artisan can be best understood by and utilize the present invention.The present invention is only
Limited by claims and four corner thereof and equivalent.
Claims (2)
1. the execution method dividing at least one software application section for computer, it is characterised in that comprise the steps:
P1 inquiry runs the amount processing core that time system is available to find described application section;
P2 determines the maximum of the described section of processing unit that can be divided into;With
P3, based on the described amount determined in P1 and P2, is divided into the processing unit of optimum number by described section;
P4 processing unit performs the software application section being assigned to.
A kind of execution method dividing at least one software application section for computer the most according to claim 1, it is special
Levy and be, described processing unit appliance computer program is incorporated to perform controller.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610624973.1A CN106250200A (en) | 2016-08-02 | 2016-08-02 | A kind of execution method dividing at least one software application section for computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610624973.1A CN106250200A (en) | 2016-08-02 | 2016-08-02 | A kind of execution method dividing at least one software application section for computer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106250200A true CN106250200A (en) | 2016-12-21 |
Family
ID=57606381
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610624973.1A Pending CN106250200A (en) | 2016-08-02 | 2016-08-02 | A kind of execution method dividing at least one software application section for computer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106250200A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107066308A (en) * | 2017-04-19 | 2017-08-18 | 深圳天珑无线科技有限公司 | Process of compilation method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101048750A (en) * | 2004-10-25 | 2007-10-03 | 罗伯特·博世有限公司 | Method and device for separating program code in a computer system having at least two execution units |
CN102934081A (en) * | 2010-04-13 | 2013-02-13 | Et国际有限公司 | Runspace method, system and apparatus |
CN105027075A (en) * | 2012-12-28 | 2015-11-04 | 英特尔公司 | Processing core having shared front end unit |
-
2016
- 2016-08-02 CN CN201610624973.1A patent/CN106250200A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101048750A (en) * | 2004-10-25 | 2007-10-03 | 罗伯特·博世有限公司 | Method and device for separating program code in a computer system having at least two execution units |
CN102934081A (en) * | 2010-04-13 | 2013-02-13 | Et国际有限公司 | Runspace method, system and apparatus |
CN105027075A (en) * | 2012-12-28 | 2015-11-04 | 英特尔公司 | Processing core having shared front end unit |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107066308A (en) * | 2017-04-19 | 2017-08-18 | 深圳天珑无线科技有限公司 | Process of compilation method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8495598B2 (en) | Control flow graph operating system configuration | |
EP3588285A1 (en) | Sequence optimizations in a high-performance computing environment | |
CN102576314B (en) | The mapping with the data parallel thread across multiple processors processes logic | |
CN101799760B (en) | System and method of generating parallel simd code for an arbitrary target architecture | |
KR101279179B1 (en) | Parallel program generation method | |
EP3204849B1 (en) | Systems and methods to update source code files | |
JP6266221B2 (en) | Distributed processing system, scheduler node and scheduling method for distributed processing system, and program generation apparatus therefor | |
US20120324454A1 (en) | Control Flow Graph Driven Operating System | |
US8671418B2 (en) | Environment modification in a hybrid node computing environment | |
US20150286504A1 (en) | Scheduling and execution of tasks | |
US20130091507A1 (en) | Optimizing data warehousing applications for gpus using dynamic stream scheduling and dispatch of fused and split kernels | |
CN102609296A (en) | Virtual machine branching and parallel execution | |
KR102013582B1 (en) | Apparatus and method for detecting error and determining corresponding position in source code of mixed mode application program source code thereof | |
US10802806B1 (en) | Generating vectorized control flow using reconverging control flow graphs | |
Shih et al. | Performance study of parallel programming on cloud computing environments using mapreduce | |
US20110131554A1 (en) | Application generation system, method, and program product | |
US10013242B2 (en) | Distributed compilation of statically typed languages | |
CN112948066A (en) | Spark task scheduling method based on heterogeneous resources | |
Xu et al. | Empowering R with high performance computing resources for big data analytics | |
CN106250200A (en) | A kind of execution method dividing at least one software application section for computer | |
CN104239055A (en) | Method for detecting complexity of software codes | |
Kienberger et al. | Parallelizing highly complex engine management systems | |
WO2013165460A1 (en) | Control flow graph driven operating system | |
Benoit et al. | Scheduling skeleton-based grid applications using PEPA and NWS | |
US20140040907A1 (en) | Resource assignment in a hybrid system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20161221 |