Lines Matching defs:master
65 DistIface *DistIface::master = nullptr;
147 DistIface::master->sendCmd(header);
196 DistIface::master->sendCmd(header);
415 for (int i = 0; i < DistIface::master->sys->numContexts(); i++) {
417 DistIface::master->sys->getThreadContext(i);
510 assert(send_tick > master->syncEvent->when() -
511 master->syncEvent->repeat);
513 assert(send_tick + send_delay + linkDelay > master->syncEvent->when());
619 if (master == nullptr) {
628 master = this;
646 if (this == master)
647 master = nullptr;
735 if (this == master)
743 if (this == master)
762 if (this == master) {
781 if (this == master) {
808 assert(master != nullptr);
809 if (this == master)
818 if (this == master && (!syncStartOnPseudoOp || isSwitch))
829 if (master) {
858 master->sys = tc->getSystemPtr();
864 if (master->syncEvent->scheduled()) {
866 master->sync->requestStopSync(ReqType::collective);
873 for (int i = 0; i < master->sys->numContexts(); i++) {
874 ThreadContext *tc = master->sys->getThreadContext(i);
881 master->syncEvent->start();
888 for (int i = 0; i < master->sys->numContexts(); i++) {
889 ThreadContext *tc = master->sys->getThreadContext(i);
891 tc->quiesceTick(master->syncEvent->when() + 1);
903 if (master) {
905 if (!master->syncEvent->scheduled())
906 master->syncEvent->start();
926 if (master) {
927 val = master->rank;
939 if (master) {
940 val = master->size;