Lines Matching refs:trace
4 local debugid = trace.debugid(codename)
6 trace.single(debugid,callback)
18 local secs = trace.convert_timestamp_to_nanoseconds(buf.timestamp - initial_timestamp) / 1000000000
21 if trace.debugid_is_start(buf.debugid) then
23 elseif trace.debugid_is_end(buf.debugid) then
111 if trace.debugid_is_start(buf.debugid) then
120 if trace.debugid_is_start(buf.debugid) then
135 if trace.debugid_is_start(buf.debugid) then
138 elseif trace.debugid_is_end(buf.debugid) then
186 if trace.debugid_is_start(buf.debugid) then
193 trace.enable_thread_cputime()
198 if trace.debugid_is_start(buf.debugid) then
201 runthread_cputime_map[buf.threadid] = trace.cputime_for_thread(buf.threadid);
204 local cputime = trace.cputime_for_thread(buf.threadid) - runthread_cputime_map[buf.threadid]
206 local time_ms = trace.convert_timestamp_to_nanoseconds(time) / 1000000
207 local cputime_ms = trace.convert_timestamp_to_nanoseconds(cputime) / 1000000
214 elseif trace.debugid_is_end(buf.debugid) then
228 if trace.debugid_is_start(buf.debugid) then
256 if trace.debugid_is_start(buf.debugid) then
318 if trace.debugid_is_start(buf.debugid) then
320 elseif trace.debugid_is_end(buf.debugid) then