Разделы презентаций


"The study of methods of optimization of the program code at the cost of CPU

Process optimization codeOptimization - a transformation in which the result of the system remains unchanged, but improve some of its characteristics. The most common goals of optimization when developing the code:

Слайды и текст этой презентации

Слайд 1






"The study of methods of optimization of the program code

at the cost of CPU time"

















Слайд 2Process optimization code
Optimization - a transformation in which the result

of the system remains unchanged, but improve some of its

characteristics. The most common goals of optimization when developing the code: reduce the execution time of programs, improve performance, compactification of code, memory consumption, minimizing energy consumption, reducing the number of input / output.
Process optimization codeOptimization - a transformation in which the result of the system remains unchanged, but improve

Слайд 3Constant folding («свертывание констант»)
One of the common optimizations in

the compiler is "constant folding". In the process of performing

this action in program code are the constants in the resulting code consists of the calculated values.

Integrated methods for optimization of programs

Constant folding («свертывание констант») One of the common optimizations in the compiler is

Слайд 4Common Sub-Expression Elimination (CSE) (Устранение общих подвыражений)
This optimization is

the following: if you use the calculation of any expression

two or more times, it can be calculated once and then to substitute all uses of its expression.

Integrated methods for optimization of programs

Common Sub-Expression Elimination (CSE) (Устранение общих подвыражений) This optimization is the following: if you use the calculation

Слайд 5Performing arithmetic operations on variables of different types
Comparison of execution

time of commands s = a*0.5 and s = a/2

The aim of the study was to determine which of the basic arithmetic operations on variables of different types are faster. Also need to find out how the performance of an operation depends on the type of the operands.
Performing arithmetic operations on variables of different typesComparison of execution time of commands s = a*0.5 and

Слайд 6The aim of the study was to test the effect

of the method of passage when processing two – dimensional

arrays by rows or by columns.Intended result: Since the array dimensions are the same, and the number of elementary operations when working with the cells of the array is also the same, then the difference in the way traverse the array should not occur.

Fill the array

The aim of the study was to test the effect of the method of passage when processing

Слайд 7The aim of the study was to verify the herniation

of the choice of branching statements (If-then-else statement and multiple-choice

Case) on the speed of the program.

Branching statements

The aim of the study was to verify the herniation of the choice of branching statements (If-then-else

Обратная связь

Если не удалось найти и скачать доклад-презентацию, Вы можете заказать его на нашем сайте. Мы постараемся найти нужный Вам материал и отправим по электронной почте. Не стесняйтесь обращаться к нам, если у вас возникли вопросы или пожелания:

Email: Нажмите что бы посмотреть 

Что такое TheSlide.ru?

Это сайт презентации, докладов, проектов в PowerPoint. Здесь удобно  хранить и делиться своими презентациями с другими пользователями.


Для правообладателей

Яндекс.Метрика