pseudo_inst.cc (11290:1640dd68b0a4) pseudo_inst.cc (11320:42ecb523c64a)
1/*
2 * Copyright (c) 2010-2012, 2015 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

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

640void
641switchcpu(ThreadContext *tc)
642{
643 DPRINTF(PseudoInst, "PseudoInst::switchcpu()\n");
644 exitSimLoop("switchcpu");
645}
646
647//
1/*
2 * Copyright (c) 2010-2012, 2015 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

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

640void
641switchcpu(ThreadContext *tc)
642{
643 DPRINTF(PseudoInst, "PseudoInst::switchcpu()\n");
644 exitSimLoop("switchcpu");
645}
646
647//
648// This function is executed when annotated work items begin. Depending on
648// This function is executed when annotated work items begin. Depending on
649// what the user specified at the command line, the simulation may exit and/or
650// take a checkpoint when a certain work item begins.
651//
652void
653workbegin(ThreadContext *tc, uint64_t workid, uint64_t threadid)
654{
655 DPRINTF(PseudoInst, "PseudoInst::workbegin(%i, %i)\n", workid, threadid);
656 System *sys = tc->getSystemPtr();

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

703 // If work started on the cpu id specified, exit simulation
704 //
705 exitSimLoop("work started on specific cpu");
706 }
707 }
708}
709
710//
649// what the user specified at the command line, the simulation may exit and/or
650// take a checkpoint when a certain work item begins.
651//
652void
653workbegin(ThreadContext *tc, uint64_t workid, uint64_t threadid)
654{
655 DPRINTF(PseudoInst, "PseudoInst::workbegin(%i, %i)\n", workid, threadid);
656 System *sys = tc->getSystemPtr();

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

703 // If work started on the cpu id specified, exit simulation
704 //
705 exitSimLoop("work started on specific cpu");
706 }
707 }
708}
709
710//
711// This function is executed when annotated work items end. Depending on
711// This function is executed when annotated work items end. Depending on
712// what the user specified at the command line, the simulation may exit and/or
713// take a checkpoint when a certain work item ends.
714//
715void
716workend(ThreadContext *tc, uint64_t workid, uint64_t threadid)
717{
718 DPRINTF(PseudoInst, "PseudoInst::workend(%i, %i)\n", workid, threadid);
719 System *sys = tc->getSystemPtr();

--- 48 unchanged lines hidden ---
712// what the user specified at the command line, the simulation may exit and/or
713// take a checkpoint when a certain work item ends.
714//
715void
716workend(ThreadContext *tc, uint64_t workid, uint64_t threadid)
717{
718 DPRINTF(PseudoInst, "PseudoInst::workend(%i, %i)\n", workid, threadid);
719 System *sys = tc->getSystemPtr();

--- 48 unchanged lines hidden ---