google/tracing-framework — pull request #16 by benvanik (2012-11-28 19:29:50+00:00)
Title: Trace event API cleanup.

This cleans up tracing events to be simple function calls instead of objects with functions on them. This makes code using the events cleaner and easier to write and gives us more flexibility to change these types in the future.

Also added a wtf.trace.enterTracingScope() call that will let us track time spent in the tracing framework. The UI currently ignores it but it could allow for time hiding/etc.