on master help sign in
add note about -P
f9cdd23Tinnus Napbus
content/using/running/vere.md+6−4
@@ -525,10 +525,12 @@ communications.
525
525
526### `-P, --profile`
526### `-P, --profile`
527
527
528−Enable profiling. Profiles will be saved to
528+Enable profiling. Profiles will be saved to `[pier]/.urb/put/profile/[now].txt`.
529−`[pier]/.urb/put/profile/[now].txt`. This is useful for debugging and
530−development. Profiling hit counters in Hoon code specified with the `~$` rune
529+This is useful for debugging and development. Profiling hit counters in Hoon
531−will be recorded here.
530+code specified with the `~$` rune will be recorded here.
531+
532+This runs a sampling profiler and produces custom output. Runtime cost metrics
533+are only calculated if the binary was built with `CPU_DEBUG`.
532
534
533- Undocked `urbit -P [pier]`
535- Undocked `urbit -P [pier]`
534- Docked `[pier]/.run -P`
536- Docked `[pier]/.run -P`