Manual and Fast C Code Optimization
Journal Title: Annals. Computer Science Series - Year 2010, Vol 8, Issue 1
Abstract
Developing an application with high performance through the code optimization places a greater responsibility on the programmers. While most of the existing compilers attempt to automatically optimize the program code, manual techniques remain the predominant method for performing optimization. Deciding where to try to optimize code is difficult, especially for large complex applications. For manual optimization, the programmers can use his experiences in writing the code, and then he can use a software profiler in order to collect and analyze the performance data from the code. In this work, we have gathered the most experiences which can be applied to improve the style of writing programs in C language as well as we present an implementation of the manual optimization of the codes using the Intel VTune profiler. The paper includes two case studies to illustrate our optimization on the Heap Sort and Factorial functions.
Authors and Affiliations
Mohammed ABDULLA
Proposal of a Qualification and Selection of a Software for Analysis and Monitoring of Search Engines
In order to measure website visibility in search engines, there are softwares for analytics and referencing follow-up. They permit to quantify website's efficacity of referencing and optimize its positionning in search e...
Mobile Students’ Academic Record Manager
With increasing ownership of smart phones and the prevalent use of mobile apps among the students, the necessity to develop mobile applications useful to assist students’ daily lives and academics arises. This study ther...
TCP over IEEE 802.1
IEEE 802.11 is a widely used wireless LAN standard for medium access control. TCP is a prominent transport protocol originally designed for wired networks. TCP treats packet loss as congestion and reduces the data rate....
Performance Evaluation of PSO, PSOCA and MPSOCA for Solving University Timetabling Problem
In this paper, performance evaluation of Particle Swarm Optimization algorithm (PSO), Particle Swarm Optimization based Cultural Algorithm (PSOCA) and Modified Particle Swarm Optimization based Cultural Algorithm (MPSOCA...
On an Ethical Use of Neural Networks: A Case Study on a North Indian Raga
The paper gives an artificial neural network (ANN) approach to time series modeling, the data being instance versus notes (characterized by pitch) depicting the structure of a North Indian raga, namely, Bageshree. Respec...