翻訳と辞書
Words near each other
・ Gdańsk Żabianka railway station
・ Gdańska Street, Bydgoszcz
・ Gdański Bridge
・ Gdańskie Wydawnictwo Oświatowe
・ GCN5L2
・ GCNA
・ GCNT1
・ GCNT2
・ GCO
・ GCOA
・ Gcobani Bobo
・ GCompris
・ GConf
・ Gconf-editor
・ GCOS
Gcov
・ GCP
・ GCP Infrastructure Investments
・ GCPC
・ GCpedia
・ GCR
・ GCR Audio
・ GCR Class 1
・ GCR Class 11B
・ GCR Class 11E
・ GCR Class 11F
・ GCR Class 1A
・ GCR Class 1B
・ GCR Class 2
・ GCR Class 5


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Gcov : ウィキペディア英語版
Gcov

Gcov is a source code coverage analysis and statement-by-statement profiling tool. Gcov generates exact counts of the number of times each statement in a program is executed and annotates source code to add instrumentation. Gcov comes as a standard utility with the GNU Compiler Collection (GCC) suite.
The gcov utility gives information on how often a program executes segments of code. It produces a copy of the source file, annotated with execution frequencies. The gcov utility does not produce any time-based data and works only on code compiled with the GCC suite. The manual claims it is not compatible with any other profiling or test coverage mechanism,〔(【引用サイトリンク】title=gcov man page )〕 but it works with llvm-generated files, too.
==Description==
gcov produces a test coverage analysis of a specially instrumented program. The options -fprofile-arcs -ftest-coverage should be used to compile the program for coverage analysis (first option to save line execution count and second - to record branch statistics); -fprofile-arcs should also be used to link the program.〔 After running such program will create several files with ".bb" ".bbg" and ".da" extensions (suffixes), which can be analysed by gcov. It takes source files as command-line arguments and produces an annotated source listing. Each line of source code is prefixed with the number of times it has been executed; lines that have not been executed are prefixed with "#####".
gcov creates a logfile called ''sourcefile.gcov'' which indicates how many times each line of a source file ''sourcefile.c'' has executed. This annotated source file can be used with gprof, another profiling tool, to extract timing information about the program.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Gcov」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.