Searched refs:tgid (Results 1 - 7 of 7) sorted by relevance

/gem5/src/sim/
H A Dfutex_map.hh42 * system. The tgid and an address are the unique values needed as the key.
47 uint64_t tgid; member in class:FutexKey
50 : addr(addr_in), tgid(tgid_in)
57 return addr == in.addr && tgid == in.tgid;
75 (size_t)(in.tgid >> sizeof(size_t) * i);
126 suspend(Addr addr, uint64_t tgid, ThreadContext *tc) argument
128 FutexKey key(addr, tgid);
144 wakeup(Addr addr, uint64_t tgid, int count) argument
146 FutexKey key(addr, tgid);
172 suspend_bitset(Addr addr, uint64_t tgid, ThreadContext *tc, int bitmask) argument
194 wakeup_bitset(Addr addr, uint64_t tgid, int bitmask) argument
236 requeue(Addr addr1, uint64_t tgid, int count, int count2, Addr addr2) argument
[all...]
H A Dprocess.hh91 inline uint64_t tgid() { return _tgid; } function in class:Process
H A Dsyscall_emul.cc87 exitFutexWake(ThreadContext *tc, Addr addr, uint64_t tgid) argument
97 futex_map.wakeup(addr, tgid, 1);
113 exitFutexWake(tc, p->childClearTID, p->tgid());
128 if (walk->pid() == p->tgid())
140 if (walk->tgid() == p->tgid()) {
143 * the same thread group (i.e., sharing the same tgid),
1078 return process->tgid();
H A Dsyscall_emul.hh372 futex_map.suspend(uaddr, process->tgid(), tc);
374 futex_map.suspend_bitset(uaddr, process->tgid(), tc, val3);
379 return futex_map.wakeup(uaddr, process->tgid(), val);
381 return futex_map.wakeup_bitset(uaddr, process->tgid(), val3);
395 return futex_map.requeue(uaddr, process->tgid(), val, timeout, uaddr2);
446 int woken1 = futex_map.wakeup(uaddr, process->tgid(), val);
464 woken2 = futex_map.wakeup(uaddr2, process->tgid(), timeout);
2327 int tgid = process->getSyscallArg(tc, index); local
2362 if (tgid != -1 && tgt_proc->tgid() !
[all...]
/gem5/src/arch/arm/linux/
H A Dsystem.hh137 uint32_t &tgid, std::string &next_task_str, int32_t &mm);
147 void getTaskDetails(ThreadContext *tc, uint32_t &pid, uint32_t &tgid,
H A Dsystem.cc295 uint32_t &tgid, std::string &next_task_str, int32_t &mm) {
300 tgid = ti.curTaskTGID(task_descriptor);
317 uint32_t &tgid, std::string &next_task_str, int32_t &mm) {
322 tgid = ti.curTaskTGIDFromTaskStruct(task_struct);
337 uint32_t tgid = 0; local
341 getTaskDetails(tc, pid, tgid, next_task_str, mm);
346 tgid = -1;
369 curTick(), taskMap[pid], tc->cpuId(), (int) pid, (int) tgid,
294 getTaskDetails(ThreadContext *tc, uint32_t &pid, uint32_t &tgid, std::string &next_task_str, int32_t &mm) argument
316 getTaskDetails(ThreadContext *tc, uint32_t &pid, uint32_t &tgid, std::string &next_task_str, int32_t &mm) argument
/gem5/util/streamline/
H A Dm5stats2streamline.py175 def __init__(self, uid, pid, tgid, task_name, is_process, tick):
183 self.tgid = tgid
606 tgid = int(match.group(5))
618 if not tgid in process_dict:
619 if tgid == pid:
622 print "new process", uid, pid, tgid, task_name
623 if tgid == 0:
625 process = Task(uid, pid, tgid, "idle", True, tick)
628 process = Task(uid, pid, tgid, task_nam
[all...]

Completed in 29 milliseconds