Lines Matching defs:Thread
36 type Thread uint64
39 MainThread = Thread(iota)
40 MaxInitThreads = Thread(iota)
44 Begin(name string, thread Thread)
45 End(thread Thread)
46 Complete(name string, thread Thread, begin, end uint64)
49 ImportNinjaLog(thread Thread, filename string, startOffset time.Time)
51 NewThread(name string) Thread
189 func (t *tracerImpl) defineThread(thread Thread, name string) {
194 Tid: uint64(thread),
201 // NewThread returns a new Thread with an unused tid, writing the name out to
203 func (t *tracerImpl) NewThread(name string) Thread {
207 ret := Thread(t.nextTid)
215 // at a time on each Thread, but they're nested.
216 func (t *tracerImpl) Begin(name string, thread Thread) {
222 Tid: uint64(thread),
226 // End finishes the most recent active Duration Event on the thread.
227 func (t *tracerImpl) End(thread Thread) {
232 Tid: uint64(thread),
238 func (t *tracerImpl) Complete(name string, thread Thread, begin, end uint64) {
245 Tid: uint64(thread),