events.cc (10810:683ab55819fd) events.cc (11166:9818190de72e)
1/*
2 * Copyright (c) 2015 Ruslan Bukin <br@bsdpad.com>
3 * All rights reserved.
4 *
5 * This software was developed by the University of Cambridge Computer
6 * Laboratory as part of the CTSRD Project, with support from the UK Higher
7 * Education Innovation Fund (HEIF).
8 *

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

60 // convert parameter to ns
61 if (argDivToNs)
62 time /= argDivToNs;
63
64 time *= argMultToNs;
65
66 SkipFuncEvent::process(tc);
67
1/*
2 * Copyright (c) 2015 Ruslan Bukin <br@bsdpad.com>
3 * All rights reserved.
4 *
5 * This software was developed by the University of Cambridge Computer
6 * Laboratory as part of the CTSRD Project, with support from the UK Higher
7 * Education Innovation Fund (HEIF).
8 *

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

60 // convert parameter to ns
61 if (argDivToNs)
62 time /= argDivToNs;
63
64 time *= argMultToNs;
65
66 SkipFuncEvent::process(tc);
67
68 PseudoInst::quiesceNs(tc, time);
68 // Currently, only ARM full-system simulation uses UDelayEvents to skip
69 // __delay and __loop_delay functions. One form involves setting quiesce
70 // time to 0 with the assumption that quiesce will not happen. To avoid
71 // the quiesce handling in this case, only execute the quiesce if time > 0.
72 if (time > 0) {
73 PseudoInst::quiesceNs(tc, time);
74 }
69}
70
71} // namespace FreeBSD
75}
76
77} // namespace FreeBSD