Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   valgrind    ( 1 )

набор инструментов для отладки и профилирования программ (a suite of tools for debugging and profiling programs)

CACHEGRIND OPTIONS

--I1=<size>,<associativity>,<line size> Specify the size, associativity and line size of the level 1 instruction cache.

--D1=<size>,<associativity>,<line size> Specify the size, associativity and line size of the level 1 data cache.

--LL=<size>,<associativity>,<line size> Specify the size, associativity and line size of the last-level cache.

--cache-sim=no|yes [yes] Enables or disables collection of cache access and miss counts.

--branch-sim=no|yes [no] Enables or disables collection of branch instruction and misprediction counts. By default this is disabled as it slows Cachegrind down by approximately 25%. Note that you cannot specify --cache-sim=no and --branch-sim=no together, as that would leave Cachegrind with no information to collect.

--cachegrind-out-file=<file> Write the profile data to file rather than to the default output file, cachegrind.out.<pid>. The %p and %q format specifiers can be used to embed the process ID and/or the contents of an environment variable in the name, as is the case for the core option --log-file.