From 3b1dd88650aba6d3a782efd9336be479cd2155f3 Mon Sep 17 00:00:00 2001 From: John Cortell Date: Fri, 4 Sep 2009 22:01:33 +0000 Subject: [PATCH] Additional documentation --- .../src/org/eclipse/cdt/dsf/internal/DsfPlugin.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/internal/DsfPlugin.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/internal/DsfPlugin.java index 799f58268e2..9714321a177 100644 --- a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/internal/DsfPlugin.java +++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/internal/DsfPlugin.java @@ -85,7 +85,16 @@ public class DsfPlugin extends Plugin { System.out.println(message); } } - + + /** + * Returns a relative timestamp in the form ",". Each + * segment is zero-padded to three digits, ensuring a consistent length of + * seven characters. The timestamp has no absolute meaning. It is merely the + * elapsed time since January 1, 1970 UT truncated at 999 seconds. Do not + * use this for production code, especially for mathematically determining + * the relative time between two events, since the counter will flip to zero + * roughly every 16 minutes. + */ public static String getDebugTime() { StringBuilder traceBuilder = new StringBuilder();