doc: document [start end] parameters of "profile" command

Change-Id: I56561b08304e5b854a67b06ab6b9cee7a24919b2
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2115
Tested-by: jenkins
__archive__
Paul Fertser 2014-04-16 14:37:36 +04:00 committed by Andreas Fritiofson
parent d92a2ac330
commit b1beaa36e2
1 changed files with 4 additions and 2 deletions

View File

@ -6723,10 +6723,12 @@ using @var{mask} to mark ``don't care'' fields.
@section Misc Commands
@cindex profiling
@deffn Command {profile} seconds filename
@deffn Command {profile} seconds filename [start end]
Profiling samples the CPU's program counter as quickly as possible,
which is useful for non-intrusive stochastic profiling.
Saves up to 10000 sampines in @file{filename} using ``gmon.out'' format.
Saves up to 10000 samples in @file{filename} using ``gmon.out''
format. Optional @option{start} and @option{end} parameters allow to
limit the address range.
@end deffn
@deffn Command {version}