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 (AtomicSimpleCPU) 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. 5210354Sdam.sunwoo@arm.com 5310354Sdam.sunwoo@arm.comcommit_inst_count = 5411686Sshawn.rosti@gmail.com system.cpu#.committedInsts 559935Sdam.sunwoo@arm.com 569935Sdam.sunwoo@arm.comcycles = 5711686Sshawn.rosti@gmail.com system.cpu#.num_busy_cycles 5811686Sshawn.rosti@gmail.com system.cpu#.num_idle_cycles 599935Sdam.sunwoo@arm.com 609935Sdam.sunwoo@arm.comregister_access = 6111686Sshawn.rosti@gmail.com system.cpu#.num_int_register_reads 6211686Sshawn.rosti@gmail.com system.cpu#.num_int_register_writes 639935Sdam.sunwoo@arm.com 649935Sdam.sunwoo@arm.commem_refs = 6511686Sshawn.rosti@gmail.com system.cpu#.num_mem_refs 669935Sdam.sunwoo@arm.com 679935Sdam.sunwoo@arm.cominst_breakdown = 6811686Sshawn.rosti@gmail.com system.cpu#.num_conditional_control_insts 6911686Sshawn.rosti@gmail.com system.cpu#.num_int_insts 7011686Sshawn.rosti@gmail.com system.cpu#.num_fp_insts 7111686Sshawn.rosti@gmail.com system.cpu#.num_load_insts 7211686Sshawn.rosti@gmail.com system.cpu#.num_store_insts 739935Sdam.sunwoo@arm.com 749935Sdam.sunwoo@arm.comicache = 7511686Sshawn.rosti@gmail.com system.il1_cache#.overall_hits::total 7611686Sshawn.rosti@gmail.com system.il1_cache#.overall_misses::total 779935Sdam.sunwoo@arm.com 789935Sdam.sunwoo@arm.comdcache = 7911686Sshawn.rosti@gmail.com system.dl1_cache#.overall_hits::total 8011686Sshawn.rosti@gmail.com system.dl1_cache#.overall_misses::total 819935Sdam.sunwoo@arm.com 829935Sdam.sunwoo@arm.com[PER_L2_STATS] 8310354Sdam.sunwoo@arm.com# '#' will be automatically replaced with the correct L2 id. 849935Sdam.sunwoo@arm.com 8510016Sdam.sunwoo@arm.coml2_cache = 8611686Sshawn.rosti@gmail.com system.l2_cache#.overall_hits::total 8711686Sshawn.rosti@gmail.com system.l2_cache#.overall_misses::total 889935Sdam.sunwoo@arm.com 899935Sdam.sunwoo@arm.com[OTHER_STATS] 9010354Sdam.sunwoo@arm.com# Anything that doesn't belong to CPU or L2 caches 919935Sdam.sunwoo@arm.com 929935Sdam.sunwoo@arm.comphysmem = 9310354Sdam.sunwoo@arm.com system.memsys.mem_ctrls.bytes_read::total 9410354Sdam.sunwoo@arm.com system.memsys.mem_ctrls.bytes_written::total 95