Firefox/Projects/Startup Time Improvements/joelr notes: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 57: Line 57:
= DTrace tips and tricks =
= DTrace tips and tricks =


=== DTrace: timestamp vs vtimestamp ===
=== timestamp vs vtimestamp ===


''vtimestamp'' measures CPU time of the current thread, excluding IO and DTrace overhead. ''timestamp'' can still be used for deltas but the goal is to use as few pid$target probes as possible as they affect ''timestamp'' when dtrace has to switch between kernel and userland. io and syscall providers are fast and run in the kernel.
''vtimestamp'' measures CPU time of the current thread, excluding IO and DTrace overhead. ''timestamp'' can still be used for deltas but the goal is to use as few pid$target probes as possible as they affect ''timestamp'' when dtrace has to switch between kernel and userland. io and syscall providers are fast and run in the kernel.


=== DTrace: Invalid address ===
=== Invalid address ===


Have you seen this kind of error before?
Have you seen this kind of error before?
109

edits