More statistics are now printed about DRD's behavior.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7857 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/exp-drd/drd_main.c b/exp-drd/drd_main.c
index ec1aad4..d501cb8 100644
--- a/exp-drd/drd_main.c
+++ b/exp-drd/drd_main.c
@@ -1055,11 +1055,23 @@
   // thread_print_all();
   if (VG_(clo_verbosity) > 1 || s_drd_print_stats)
   {
+    ULong update_danger_set_count;
+    ULong dsnsc;
+    ULong dscvc;
+
+    update_danger_set_count
+      = thread_get_update_danger_set_count(&dsnsc, &dscvc);
+
     VG_(message)(Vg_UserMsg,
                  "   thread: %lld context switches"
-                 " / %lld updates of the danger set.",
+                 " / %lld updates of the danger set",
                  thread_get_context_switch_count(),
-                 thread_get_update_danger_set_count());
+                 update_danger_set_count);
+    VG_(message)(Vg_UserMsg,
+                 "           (%lld new sg + %lld combine vc + %lld csw).",
+                 dsnsc,
+                 dscvc,
+                 update_danger_set_count - dsnsc - dscvc);
     VG_(message)(Vg_UserMsg,
                  " segments: created %lld segments, max %lld alive,"
                  " %lld discard points.",