[chronojump] Done sample for ChronoDebug



commit b24e5766e9e35638bd4ef22a0674886a76e81ba1
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Apr 8 17:29:29 2021 +0200

    Done sample for ChronoDebug

 src/gui/app1/chronojump.cs | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index a231aeaa..df756f90 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -908,12 +908,28 @@ public partial class ChronoJumpWindow
                */
 
                //new VersionCompareTests();
+               /*
                if(configChronojump.PlaySoundsFromFile)
                {
                        Util.CreateSoundList();
                        Util.UseSoundList = true;
                        captureContWithCurves = false; //note set and reps are not currently saved
                }
+               */
+
+               /*
+               ChronoDebug cDebug = new ChronoDebug("ChronoDebug test new stuff");
+               cDebug.Start();
+               Random rnd = new Random();
+               cDebug.Add("Created rnd");
+
+               int reps = 1000000;
+               for(int i=0; i < reps; i++)
+                       rnd.Next();
+
+               cDebug.Add(string.Format("Done {0} rnds!", reps));
+               cDebug.StopAndPrint();
+               */
        }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]