BaseCPU.py (5780:50c9d48de3ca) | BaseCPU.py (5821:2831ae658bfc) |
---|---|
1# Copyright (c) 2005-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 --- 55 unchanged lines hidden (view full) --- 64 65 system = Param.System(Parent.any, "system object") 66 cpu_id = Param.Int(-1, "CPU identifier") 67 numThreads = Param.Unsigned(1, "number of HW thread contexts") 68 69 function_trace = Param.Bool(False, "Enable function trace") 70 function_trace_start = Param.Tick(0, "Cycle to start function trace") 71 | 1# Copyright (c) 2005-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 --- 55 unchanged lines hidden (view full) --- 64 65 system = Param.System(Parent.any, "system object") 66 cpu_id = Param.Int(-1, "CPU identifier") 67 numThreads = Param.Unsigned(1, "number of HW thread contexts") 68 69 function_trace = Param.Bool(False, "Enable function trace") 70 function_trace_start = Param.Tick(0, "Cycle to start function trace") 71 |
72 checker = Param.BaseCPU("checker CPU") | 72 checker = Param.BaseCPU(NULL, "checker CPU") |
73 74 do_checkpoint_insts = Param.Bool(True, 75 "enable checkpoint pseudo instructions") 76 do_statistics_insts = Param.Bool(True, 77 "enable statistics pseudo instructions") 78 79 if build_env['FULL_SYSTEM']: 80 profile = Param.Latency('0ns', "trace the kernel stack") --- 148 unchanged lines hidden --- | 73 74 do_checkpoint_insts = Param.Bool(True, 75 "enable checkpoint pseudo instructions") 76 do_statistics_insts = Param.Bool(True, 77 "enable statistics pseudo instructions") 78 79 if build_env['FULL_SYSTEM']: 80 profile = Param.Latency('0ns', "trace the kernel stack") --- 148 unchanged lines hidden --- |