events.cc (8232:b28d06a175be) events.cc (11166:9818190de72e)
1/*
2 * Copyright (c) 2011 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

80 // convert parameter to ns
81 if (argDivToNs)
82 time /= argDivToNs;
83
84 time *= argMultToNs;
85
86 SkipFuncEvent::process(tc);
87
1/*
2 * Copyright (c) 2011 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

80 // convert parameter to ns
81 if (argDivToNs)
82 time /= argDivToNs;
83
84 time *= argMultToNs;
85
86 SkipFuncEvent::process(tc);
87
88 PseudoInst::quiesceNs(tc, time);
88 // Currently, only ARM full-system simulation uses UDelayEvents to skip
89 // __delay and __loop_delay functions. One form involves setting quiesce
90 // time to 0 with the assumption that quiesce will not happen. To avoid
91 // the quiesce handling in this case, only execute the quiesce if time > 0.
92 if (time > 0) {
93 PseudoInst::quiesceNs(tc, time);
94 }
89}
90
91
92} // namespace linux
95}
96
97
98} // namespace linux