The sample rate parameter determines how often the profiler collects a sample in terms of core clock cycles. These samples are used to provide timing information. A small number for sample rate will provide more accurate timing information. A large number for sample rate will reduce the possibility of ETM or RVT buffer overflows. Sampling relies on the same portion of code being executed many times, for example in a loop. For cycle accurate figures use a sample rate of 1. Altering this parameter does not affect collection of code coverage (executed/not executed) information; this is always collected regardless of the "sample rate" setting.
|