scheduler.cc (13328:d5f4e801436a) scheduler.cc (13329:a2d273c8e667)
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;
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(); }
460
461namespace {
462
463void
464throwingReportHandler(const ::sc_core::sc_report &r,
465 const ::sc_core::sc_actions &)
466{
467 throw r;

--- 39 unchanged lines hidden ---
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 ---