root.cc (9356:b279bad40aa3) | root.cc (9983:2cce74fe359e) |
---|---|
1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2011 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 98 unchanged lines hidden (view full) --- 107 _periodTick(p->time_sync_period), syncEvent(this) 108{ 109 _period.setTick(p->time_sync_period); 110 _spinThreshold.setTick(p->time_sync_spin_threshold); 111 112 assert(_root == NULL); 113 _root = this; 114 lastTime.setTimer(); | 1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2011 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 98 unchanged lines hidden (view full) --- 107 _periodTick(p->time_sync_period), syncEvent(this) 108{ 109 _period.setTick(p->time_sync_period); 110 _spinThreshold.setTick(p->time_sync_spin_threshold); 111 112 assert(_root == NULL); 113 _root = this; 114 lastTime.setTimer(); |
115 116 simQuantum = p->sim_quantum; |
|
115} 116 117void 118Root::initState() 119{ 120 timeSyncEnable(params()->time_sync_enable); 121} 122 --- 59 unchanged lines hidden --- | 117} 118 119void 120Root::initState() 121{ 122 timeSyncEnable(params()->time_sync_enable); 123} 124 --- 59 unchanged lines hidden --- |