1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

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

452void
453Scheduler::trace(bool delta)
454{
455 for (auto tf: traceFiles)
456 tf->trace(delta);
457}
458
459Scheduler scheduler;
460Process *getCurrentProcess() { return scheduler.current(); }
461
462namespace {
463
464void
465throwingReportHandler(const ::sc_core::sc_report &r,
466 const ::sc_core::sc_actions &)
467{
468 throw r;

--- 39 unchanged lines hidden ---