Добавлены профессиональными переводчиками и компаниями и на основе веб-страниц и открытых баз переводов.
isto mostraralle o nodo superior da documentación info do compilador & gcc;.
this would show you the top level node of the info documentation for the & gcc; compiler.
nota: estes parámetros non afectan o compilador nin o proxecto de ningún xeito, só son utilizados por kdevelop para atopar as cabeceiras incluídas.
note: these settings do not affect the compiler or the project in any way, they are only used to find included headers within kdevelop.
a ferramenta de perfilado máis coñecida é a de gcc, gprof: só precisa compilar o programa coa opción - pg; ao executar o programa xerarase un ficheiro gmon. out, que pode ser transformado a un formato lexíbel con gprof. unha desvantaxe é o paso de recompilación preciso para preparar o executábel, que debe estar ligado estaticamente. o método usado aquí é a instrumentación xerada polo compilador - que mide os arcos de chamadas entre funcións e a conta de chamadas correspondente - xunto con tbs - que dá un histograma da distribuición do tempo sobre o código. usando ambas as dúas pezas de información é posíble calcular heuristicamente o tempo acumulado das funcióne, & ie; o tempo dispendido por unha función xunto con todas as funcións chamadas desde ela.
most known is the gcc profiling tool gprof: one needs to compile the program with option -pg; running the program generates a file gmon. out, which can be transformed into human-readable form with gprof. one disadvantage is the required re-compilation step to prepare the executable, which has to be statically linked. the method used here is compiler-generated instrumentation, which measures call arcs happening among functions and corresponding call counts, in conjunction with & tbs;, which gives a histogram of time distribution over the code. using both pieces of information, it is possible to heuristically calculate inclusive time of functions, & ie; time spent in a function together with all functions called from it.