System.py (8795:0909f8ed7aa0) | System.py (8798:adaa92be9037) |
---|---|
1# Copyright (c) 2005-2007 The Regents of The University of Michigan 2# Copyright (c) 2011 Regents of the University of California 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 40 unchanged lines hidden (view full) --- 49 code(''' 50 Enums::MemoryMode getMemoryMode(); 51 void setMemoryMode(Enums::MemoryMode mode); 52''') 53 54 physmem = Param.PhysicalMemory("Physical Memory") 55 mem_mode = Param.MemoryMode('atomic', "The mode the memory system is in") 56 memories = VectorParam.PhysicalMemory(Self.all, "All memories is the system") | 1# Copyright (c) 2005-2007 The Regents of The University of Michigan 2# Copyright (c) 2011 Regents of the University of California 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 40 unchanged lines hidden (view full) --- 49 code(''' 50 Enums::MemoryMode getMemoryMode(); 51 void setMemoryMode(Enums::MemoryMode mode); 52''') 53 54 physmem = Param.PhysicalMemory("Physical Memory") 55 mem_mode = Param.MemoryMode('atomic', "The mode the memory system is in") 56 memories = VectorParam.PhysicalMemory(Self.all, "All memories is the system") |
57 | |
58 work_item_id = Param.Int(-1, "specific work item id") | 57 work_item_id = Param.Int(-1, "specific work item id") |
58 num_work_ids = Param.Int(16, "Number of distinct work item types") |
|
59 work_begin_cpu_id_exit = Param.Int(-1, 60 "work started on specific id, now exit simulation") 61 work_begin_ckpt_count = Param.Counter(0, 62 "create checkpoint when work items begin count value is reached") 63 work_begin_exit_count = Param.Counter(0, 64 "exit simulation when work items begin count value is reached") 65 work_end_ckpt_count = Param.Counter(0, 66 "create checkpoint when work items end count value is reached") --- 12 unchanged lines hidden --- | 59 work_begin_cpu_id_exit = Param.Int(-1, 60 "work started on specific id, now exit simulation") 61 work_begin_ckpt_count = Param.Counter(0, 62 "create checkpoint when work items begin count value is reached") 63 work_begin_exit_count = Param.Counter(0, 64 "exit simulation when work items begin count value is reached") 65 work_end_ckpt_count = Param.Counter(0, 66 "create checkpoint when work items end count value is reached") --- 12 unchanged lines hidden --- |