Lines Matching defs:sm

104     void hwBegin(flags f, System *sys, uint64_t frame, std::string sm,
106 void hwQ(flags f, System *sys, uint64_t frame, std::string sm,
109 void hwDq(flags f, System *sys, uint64_t frame, std::string sm,
112 void hwPq(flags f, System *sys, uint64_t frame, std::string sm,
115 void hwRq(flags f, System *sys, uint64_t frame, std::string sm,
118 void hwWf(flags f, System *sys, uint64_t frame, std::string sm,
121 void hwWe(flags f, System *sys, uint64_t frame, std::string sm,
198 uint16_t sm;
242 // Convert sm and queue name,id into queue id
247 // Hold mapping of sm and queues to output python
253 // array of systems each of which is a stack of running sm
300 // Hold mapping of sm and queues to output python
305 void doDq(System *sys, int flags, int cpu, int sm, std::string q, int qi,
307 void doQ(System *sys, int flags, int cpu, int sm, std::string q, int qi,
310 void doSwSmEnd(System *sys, int cpuid, std::string sm, uint64_t frame);
332 getSt(std::string sm, std::string s)
336 smi = smtCache[sm];
338 smi = smtCache[sm] = ++numSmt;
341 //stCache.resize(sm);
345 //assert(stCache.size() == sm);
346 //assert(numSt.size() == sm);
396 AnnDataPtr add(int t, int f, int c, int sm, int stq, int32_t data=0);
432 inline void hwBegin(flags f, System *sys, uint64_t frame, std::string sm,
439 int smi = getSm(sysi, sm, frame);
440 add(OP_BEGIN, FL_HW | f, 0, smi, getSt(sm, st));
445 inline void hwQ(flags f, System *sys, uint64_t frame, std::string sm,
456 doQ(sys, FL_HW | f, 0, getSm(sysi, sm, frame), q, qi, count);
460 inline void hwDq(flags f, System *sys, uint64_t frame, std::string sm,
471 doDq(sys, FL_HW | f, 0, getSm(sysi,sm, frame), q, qi, count);
474 inline void hwPq(flags f, System *sys, uint64_t frame, std::string sm,
485 add(OP_PEEK, FL_HW | f, 0, getSm(sysi, sm, frame), qi, count);
488 inline void hwRq(flags f, System *sys, uint64_t frame, std::string sm,
499 add(OP_RESERVE, FL_HW | f, 0, getSm(sysi, sm, frame), qi, count);
502 inline void hwWf(flags f, System *sys, uint64_t frame, std::string sm,
510 add(OP_WAIT_FULL, FL_HW | f, 0, getSm(sysi, sm, frame), qi, count);
513 inline void hwWe(flags f, System *sys, uint64_t frame, std::string sm,
521 add(OP_WAIT_EMPTY, FL_HW | f, 0, getSm(sysi, sm, frame), qi, count);