Searched refs:thread_id (Results 1 - 12 of 12) sorted by relevance

/gem5/tests/test-progs/pthread/src/
H A Dtest_std_thread.cpp62 threads.push_back( std::thread( [&] (size_t thread_id ) {
63 std::cout << "Hello from thread " << thread_id
65 outputs[thread_id] = thread_id;
/gem5/src/cpu/minor/
H A Dcpu.cc88 for (ThreadID thread_id = 0; thread_id < threads.size(); thread_id++) {
89 delete threads[thread_id];
106 for (ThreadID thread_id = 0; thread_id < threads.size(); thread_id++) {
107 ThreadContext *tc = getContext(thread_id);
114 for (ThreadID thread_id = 0; thread_id < thread
140 unserializeThread(CheckpointIn &cp, ThreadID thread_id) argument
280 activateContext(ThreadID thread_id) argument
299 suspendContext(ThreadID thread_id) argument
[all...]
H A Dexecute.hh251 bool isInterrupted(ThreadID thread_id) const;
254 bool isInbetweenInsts(ThreadID thread_id) const;
258 bool takeInterrupt(ThreadID thread_id, BranchData &branch);
261 unsigned int issue(ThreadID thread_id);
265 bool tryPCEvents(ThreadID thread_id);
278 bool hasInterrupt(ThreadID thread_id);
305 void commit(ThreadID thread_id, bool only_commit_microops, bool discard,
309 void setDrainState(ThreadID thread_id, DrainState state);
H A Dexecute.cc324 ThreadID thread_id = inst->id.threadId; local
325 ThreadContext *thread = cpu.getContext(thread_id);
327 ExecContext context(cpu, *cpu.threads[thread_id], *this, inst);
412 Execute::isInterrupted(ThreadID thread_id) const
414 return cpu.checkInterrupts(cpu.getContext(thread_id));
418 Execute::takeInterrupt(ThreadID thread_id, BranchData &branch) argument
421 cpu.getContext(thread_id)->pcState());
423 Fault interrupt = cpu.getInterruptController(thread_id)->getInterrupt
424 (cpu.getContext(thread_id));
428 cpu.getInterruptController(thread_id)
543 issue(ThreadID thread_id) argument
835 tryPCEvents(ThreadID thread_id) argument
894 ThreadID thread_id = inst->id.threadId; local
1023 commit(ThreadID thread_id, bool only_commit_microops, bool discard, BranchData &branch) argument
1634 hasInterrupt(ThreadID thread_id) argument
1809 setDrainState(ThreadID thread_id, DrainState state) argument
[all...]
H A Dcpu.hh165 void activateContext(ThreadID thread_id) override;
166 void suspendContext(ThreadID thread_id) override;
H A Dpipe_data.hh135 ThreadID thread_id,
141 threadId(thread_id),
133 BranchData( Reason reason_, ThreadID thread_id, InstSeqNum new_stream_seq_num, InstSeqNum new_prediction_seq_num, TheISA::PCState target, MinorDynInstPtr inst_) argument
H A Ddyn_inst.hh110 ThreadID thread_id = 0, InstSeqNum stream_seq_num = 0,
113 threadId(thread_id), streamSeqNum(stream_seq_num),
H A Dlsq.hh692 InstSeqNum getLastMemBarrier(ThreadID thread_id) const
693 { return lastMemBarrier[thread_id]; }
/gem5/ext/googletest/googletest/src/
H A Dgtest-port.cc330 DWORD thread_id; local
338 &thread_id); // Need a valid pointer for the call to work under Win98.
454 static void OnThreadExit(DWORD thread_id) { argument
455 GTEST_CHECK_(thread_id != 0) << ::GetLastError();
464 thread_to_thread_locals->find(thread_id);
492 static void StartWatcherThreadFor(DWORD thread_id) { argument
497 thread_id);
506 reinterpret_cast<LPVOID>(new ThreadIdAndHandle(thread_id, thread)),
/gem5/src/cpu/o3/
H A Dcpu.cc1821 ThreadID thread_id = it->first; local
1825 DPRINTF(O3CPU, "Exiting thread %d\n", thread_id);
1826 haltContext(thread_id);
1827 tcBase(thread_id)->setStatus(ThreadContext::Halted);
/gem5/ext/googletest/googletest/test/
H A Dgtest-port_test.cc317 pthread_t thread_id; local
326 const int status = pthread_create(&thread_id, &attr, &ThreadFunc, &mutex);
333 ASSERT_EQ(0, pthread_join(thread_id, &dummy));
/gem5/util/streamline/
H A Dm5stats2streamline.py430 def threadNameFrame(timestamp, thread_id, name):
434 packed32(thread_id) + stringList(name)

Completed in 26 milliseconds