Add microfactory tracing

Test: m clean; load out/build.trace.gz in chrome://tracing
Test: m -j nothing; load again
Change-Id: I67d4e006a4bdde593b54c20d6d93a48278fe696d
This commit is contained in:
Dan Willemsen
2017-07-13 14:27:31 -07:00
parent 1b82286736
commit cae59bc29d
7 changed files with 156 additions and 43 deletions

View File

@@ -45,6 +45,7 @@ type Tracer interface {
End(thread Thread)
Complete(name string, thread Thread, begin, end uint64)
ImportMicrofactoryLog(filename string)
ImportNinjaLog(thread Thread, filename string, startOffset time.Time)
NewThread(name string) Thread