1# Copyright (c) 2006-2008 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 48 unchanged lines hidden (view full) --- 57# CPU Switching - default switch model goes from a checkpoint 58# to a timing simple CPU with caches to warm up, then to detailed CPU for 59# data measurement 60parser.add_option("-s", "--standard-switch", action="store_true", 61 help="switch from timing CPU to Detailed CPU") 62parser.add_option("-w", "--warmup", action="store", type="int", 63 help="if -s, then this is the warmup period. else, this is ignored", 64 default=5000000000) |
65parser.add_option("--profile", help="CPU profile interval") |
66 67# Fastforwarding and simpoint related materials 68parser.add_option("-W", "--warmup-insts", action="store", type="int", 69 default=None, 70 help="Warmup period in total instructions (requires --standard-switch)") 71parser.add_option("-I", "--max-inst", action="store", type="int", default=None, 72 help="Total number of instructions to simulate (default: run forever)") 73parser.add_option("--bench", action="store", type="string", default=None, 74 help="base names for --take-checkpoint and --checkpoint-restore") 75parser.add_option("-F", "--fast-forward", action="store", type="string", 76 default=None, 77 help="Number of instructions to fast forward before switching") 78parser.add_option("-S", "--simpoint", action="store_true", default=False, 79 help="""Use workload simpoints as an instruction offset for 80--checkpoint-restore or --take-checkpoint.""") 81parser.add_option("--at-instruction", action="store_true", default=False, 82 help="""Treate value of --checkpoint-restore or --take-checkpoint as a 83number of instructions.""") |