19935Sdam.sunwoo@arm.com# Copyright (c) 2012 ARM Limited
29935Sdam.sunwoo@arm.com# All rights reserved
39935Sdam.sunwoo@arm.com#
49935Sdam.sunwoo@arm.com# The license below extends only to copyright in the software and shall
59935Sdam.sunwoo@arm.com# not be construed as granting a license to any other intellectual
69935Sdam.sunwoo@arm.com# property including but not limited to intellectual property relating
79935Sdam.sunwoo@arm.com# to a hardware implementation of the functionality of the software
89935Sdam.sunwoo@arm.com# licensed hereunder.  You may use the software subject to the license
99935Sdam.sunwoo@arm.com# terms below provided that you ensure that this notice is replicated
109935Sdam.sunwoo@arm.com# unmodified and in its entirety in all distributions of the software,
119935Sdam.sunwoo@arm.com# modified or unmodified, in source code or in binary form.
129935Sdam.sunwoo@arm.com#
139935Sdam.sunwoo@arm.com# Redistribution and use in source and binary forms, with or without
149935Sdam.sunwoo@arm.com# modification, are permitted provided that the following conditions are
159935Sdam.sunwoo@arm.com# met: redistributions of source code must retain the above copyright
169935Sdam.sunwoo@arm.com# notice, this list of conditions and the following disclaimer;
179935Sdam.sunwoo@arm.com# redistributions in binary form must reproduce the above copyright
189935Sdam.sunwoo@arm.com# notice, this list of conditions and the following disclaimer in the
199935Sdam.sunwoo@arm.com# documentation and/or other materials provided with the distribution;
209935Sdam.sunwoo@arm.com# neither the name of the copyright holders nor the names of its
219935Sdam.sunwoo@arm.com# contributors may be used to endorse or promote products derived from
229935Sdam.sunwoo@arm.com# this software without specific prior written permission.
239935Sdam.sunwoo@arm.com#
249935Sdam.sunwoo@arm.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
259935Sdam.sunwoo@arm.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
269935Sdam.sunwoo@arm.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
279935Sdam.sunwoo@arm.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
289935Sdam.sunwoo@arm.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
299935Sdam.sunwoo@arm.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
309935Sdam.sunwoo@arm.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
319935Sdam.sunwoo@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
329935Sdam.sunwoo@arm.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
339935Sdam.sunwoo@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
349935Sdam.sunwoo@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
359935Sdam.sunwoo@arm.com#
369935Sdam.sunwoo@arm.com# Author: Dam Sunwoo
379935Sdam.sunwoo@arm.com#
389935Sdam.sunwoo@arm.com# Sample stats config file (O3CPU) for m5stats2streamline.py
399935Sdam.sunwoo@arm.com#
409935Sdam.sunwoo@arm.com# Stats grouped together will show as grouped in Streamline.
419935Sdam.sunwoo@arm.com# E.g.,
429935Sdam.sunwoo@arm.com#
4310354Sdam.sunwoo@arm.com# commit_inst_count =
4411686Sshawn.rosti@gmail.com#     system.cpu#.commit.committedInsts
4511686Sshawn.rosti@gmail.com#     system.cpu#.commit.commitSquashedInsts
469935Sdam.sunwoo@arm.com#
4710354Sdam.sunwoo@arm.com# will display the inst counts (committed/squashed) as a stacked line chart.
489935Sdam.sunwoo@arm.com# Charts will still be configurable in Streamline.
499935Sdam.sunwoo@arm.com
509935Sdam.sunwoo@arm.com[PER_CPU_STATS]
5110354Sdam.sunwoo@arm.com# '#' will be automatically replaced with the correct CPU id.
529935Sdam.sunwoo@arm.com
539935Sdam.sunwoo@arm.comicache =
5411686Sshawn.rosti@gmail.com    system.il1_cache#.overall_hits::total
5511686Sshawn.rosti@gmail.com    system.il1_cache#.overall_misses::total
569935Sdam.sunwoo@arm.com
579935Sdam.sunwoo@arm.comdcache =
5811686Sshawn.rosti@gmail.com    system.dl1_cache#.overall_hits::total
5911686Sshawn.rosti@gmail.com    system.dl1_cache#.overall_misses::total
609935Sdam.sunwoo@arm.com
619935Sdam.sunwoo@arm.comcommit_inst_count =
6211686Sshawn.rosti@gmail.com    system.cpu#.commit.committedInsts
6311686Sshawn.rosti@gmail.com    system.cpu#.commit.commitSquashedInsts
649935Sdam.sunwoo@arm.com
659935Sdam.sunwoo@arm.comcycles =
6611686Sshawn.rosti@gmail.com    system.cpu#.numCycles
6711686Sshawn.rosti@gmail.com    system.cpu#.idleCycles
689935Sdam.sunwoo@arm.com
699935Sdam.sunwoo@arm.combranch_mispredict =
7011686Sshawn.rosti@gmail.com    system.cpu#.commit.branchMispredicts
719935Sdam.sunwoo@arm.comitb =
7211686Sshawn.rosti@gmail.com    system.cpu#.itb.hits
7311686Sshawn.rosti@gmail.com    system.cpu#.itb.misses
749935Sdam.sunwoo@arm.com
759935Sdam.sunwoo@arm.comdtb =
7611686Sshawn.rosti@gmail.com    system.cpu#.dtb.hits
7711686Sshawn.rosti@gmail.com    system.cpu#.dtb.misses
789935Sdam.sunwoo@arm.com
799935Sdam.sunwoo@arm.comcommit_inst_breakdown =
8011686Sshawn.rosti@gmail.com    system.cpu#.commit.loads
8111686Sshawn.rosti@gmail.com    system.cpu#.commit.membars
8211686Sshawn.rosti@gmail.com    system.cpu#.commit.branches
8311686Sshawn.rosti@gmail.com    system.cpu#.commit.fp_insts
8411686Sshawn.rosti@gmail.com    system.cpu#.commit.int_insts
859935Sdam.sunwoo@arm.com
869935Sdam.sunwoo@arm.comint_regfile =
8711686Sshawn.rosti@gmail.com    system.cpu#.int_regfile_reads
8811686Sshawn.rosti@gmail.com    system.cpu#.int_regfile_writes
899935Sdam.sunwoo@arm.com
909935Sdam.sunwoo@arm.commisc_regfile =
9111686Sshawn.rosti@gmail.com    system.cpu#.misc_regfile_reads
9211686Sshawn.rosti@gmail.com    system.cpu#.misc_regfile_writes
939935Sdam.sunwoo@arm.com
949935Sdam.sunwoo@arm.comrename_full =
9511686Sshawn.rosti@gmail.com    system.cpu#.rename.ROBFullEvents
9611686Sshawn.rosti@gmail.com    system.cpu#.rename.IQFullEvents
9711686Sshawn.rosti@gmail.com    system.cpu#.rename.LSQFullEvents
989935Sdam.sunwoo@arm.com
999935Sdam.sunwoo@arm.com[PER_L2_STATS]
10010354Sdam.sunwoo@arm.com# '#' will be automatically replaced with the correct L2 id.
1019935Sdam.sunwoo@arm.com
10210016Sdam.sunwoo@arm.coml2_cache =
10311686Sshawn.rosti@gmail.com    system.l2_cache#.overall_hits::total
10411686Sshawn.rosti@gmail.com    system.l2_cache#.overall_misses::total
1059935Sdam.sunwoo@arm.com
1069935Sdam.sunwoo@arm.com[OTHER_STATS]
1079935Sdam.sunwoo@arm.com# Anything that doesn't belong to CPU or L2 caches
1089935Sdam.sunwoo@arm.com
1099935Sdam.sunwoo@arm.comphysmem =
11010354Sdam.sunwoo@arm.com    system.memsys.mem_ctrls.bytes_read::total
11110354Sdam.sunwoo@arm.com    system.memsys.mem_ctrls.bytes_written::total
112