From 14220a1c37f8a80ddce902a5dffe46b5171b9f8d Mon Sep 17 00:00:00 2001 From: Jim DeFabia Date: Tue, 24 Oct 2023 13:49:46 -0400 Subject: [PATCH] HPCC-29468 Document STD.system.log.getElapsedMs Signed-off-by: Jim DeFabia --- .../SLR-Mods/getElapsedMs.xml | 48 +++++++++++++++++++ .../SLR-includer.xml | 3 ++ 2 files changed, 51 insertions(+) create mode 100644 docs/EN_US/ECLStandardLibraryReference/SLR-Mods/getElapsedMs.xml diff --git a/docs/EN_US/ECLStandardLibraryReference/SLR-Mods/getElapsedMs.xml b/docs/EN_US/ECLStandardLibraryReference/SLR-Mods/getElapsedMs.xml new file mode 100644 index 00000000000..59cd0a990c1 --- /dev/null +++ b/docs/EN_US/ECLStandardLibraryReference/SLR-Mods/getElapsedMs.xml @@ -0,0 +1,48 @@ + + + + getElapsedMs + + result := + STD.System.Log.getElapsedMs + STD.System.Log.getElapsedMs + + System.Log.getElapsedMs + + Log.getElapsedMs + + getElapsedMs + + (); + + + + + + + + + + Return: + + getElapsedMs returns returns the elapsed time in + milliseconds. + + + + + + The getElapsedMs function returns the + current elapsed query time (in ms) in Roxie. + + For use in Roxie only. An error is + returned if you try to run on Thor or hThor. + + Example: + + IMPORT STD; +STD.System.Debug.Sleep (1054); // pause processing for 1054 milliseconds. +OUTPUT(STD.System.Log.getElapsedMs(), NAMED('Elapsed')); //returns total time elapsed + + diff --git a/docs/EN_US/ECLStandardLibraryReference/SLR-includer.xml b/docs/EN_US/ECLStandardLibraryReference/SLR-includer.xml index c62387b60cb..da6de3c274c 100644 --- a/docs/EN_US/ECLStandardLibraryReference/SLR-includer.xml +++ b/docs/EN_US/ECLStandardLibraryReference/SLR-includer.xml @@ -599,6 +599,9 @@ + +