System.py (11273:36dfd27e4a4e) System.py (11420:b48c0ba4f524)
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;

--- 45 unchanged lines hidden (view full) ---

54 Enums::MemoryMode getMemoryMode() const;
55 void setMemoryMode(Enums::MemoryMode mode);
56''')
57
58 memories = VectorParam.AbstractMemory(Self.all,
59 "All memories in the system")
60 mem_mode = Param.MemoryMode('atomic', "The mode the memory system is in")
61
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;

--- 45 unchanged lines hidden (view full) ---

54 Enums::MemoryMode getMemoryMode() const;
55 void setMemoryMode(Enums::MemoryMode mode);
56''')
57
58 memories = VectorParam.AbstractMemory(Self.all,
59 "All memories in the system")
60 mem_mode = Param.MemoryMode('atomic', "The mode the memory system is in")
61
62 thermal_model = Param.ThermalModel(NULL, "Thermal model")
63 thermal_components = VectorParam.SimObject([],
64 "A collection of all thermal components in the system.")
65
62 # When reserving memory on the host, we have the option of
63 # reserving swap space or not (by passing MAP_NORESERVE to
64 # mmap). By enabling this flag, we accomodate cases where a large
65 # (but sparse) memory is simulated.
66 mmap_using_noreserve = Param.Bool(False, "mmap the backing store " \
67 "without reserving swap")
68
69 # The memory ranges are to be populated when creating the system

--- 40 unchanged lines hidden ---
66 # When reserving memory on the host, we have the option of
67 # reserving swap space or not (by passing MAP_NORESERVE to
68 # mmap). By enabling this flag, we accomodate cases where a large
69 # (but sparse) memory is simulated.
70 mmap_using_noreserve = Param.Bool(False, "mmap the backing store " \
71 "without reserving swap")
72
73 # The memory ranges are to be populated when creating the system

--- 40 unchanged lines hidden ---