From a414ffaf65171bf2d1ed289397befca3cbf8b967 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Mon, 12 Aug 2024 13:39:36 +0200 Subject: [PATCH] doc: document command 'ms' Add documentation for the commands 'ms'. Change-Id: I247adce1c586c4f4cd36d044d48298c370635e67 Signed-off-by: Antonio Borneo Reviewed-on: https://review.openocd.org/c/openocd/+/8432 Tested-by: jenkins --- doc/openocd.texi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/openocd.texi b/doc/openocd.texi index 794762fa2..c78638276 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -9621,6 +9621,12 @@ Add or replace help text on the given @var{command_name}. Add or replace usage text on the given @var{command_name}. @end deffn +@deffn {Command} {ms} +Returns current time since the Epoch in ms +(See: @url{https://en.wikipedia.org/wiki/Epoch_(computing)}). +Useful to compute delays in TCL. +@end deffn + @node Architecture and Core Commands @chapter Architecture and Core Commands @cindex Architecture Specific Commands