Exemple #1
0
            public string ToCsvString(bool verbose)
            {
                string results =
                    "Cycles Taken, " + CycleUse + "\n" +
                    "Average CPI, " + (double)CycleUse / (double)AmountOfMemoryAddressCalls + "\n" +
                    MemCache.getCacheStatusAsCsv(verbose);

                if (!verbose)
                {
                    return(results);
                }

                results +=
                    "\n" +
                    getInstructionHitsAndMissesCsv(HitMissRecord);

                return(results);
            }