tool/CommandSlaves.cpp
changeset 1419 8fc38c37d86e
parent 1379 cbceb0e2f2a0
child 1420 5eb814732c46
--- a/tool/CommandSlaves.cpp	Fri Apr 24 13:43:51 2009 +0000
+++ b/tool/CommandSlaves.cpp	Mon Apr 27 11:38:03 2009 +0000
@@ -268,18 +268,21 @@
             << (si->fmmu_bit ? "yes" : "no") << endl
             << "  Distributed clocks: ";
         if (si->dc_supported) {
-            cout << "yes (";
-            switch (si->dc_range) {
-                case EC_DC_32:
-                    cout << "32 bit";
-                    break;
-                case EC_DC_64:
-                    cout << "64 bit";
-                    break;
-                default:
-                    cout << "???";
-            }
-            cout << ")";
+            if (si->has_dc_system_time) {
+                cout << "yes, ";
+                switch (si->dc_range) {
+                    case EC_DC_32:
+                        cout << "32 bit";
+                        break;
+                    case EC_DC_64:
+                        cout << "64 bit";
+                        break;
+                    default:
+                        cout << "???";
+                }
+            } else {
+                cout << "yes, delay measurement only";
+            }
         } else {
             cout << "no";
         }