Home

Awesome

coz-go

Coz profiler Golang wrapper.

This is a golang wrapper around the Coz profiler here: https://github.com/plasma-umass/coz

Code Usage {#code-usage}

Coz CallEquivalent CozGo CallDescription
COZ_BEGIN("name")cozgo.Begin("name")Begin a latency profiling block identified by the name
COZ_END("name")cozgo.End("name")End a latency profiling block identified by the name
COZ_PROGRESS()cozgo.Progress()Specify a progress point within a block of work
COZ_PROGRESS()cozgo.NamedProgress("name")Specify a named progress point within a block of work

For background on causal profiling, see

Paper: http://www.sigops.org/s/conferences/sosp/2015/current/2015-Monterey/printable/090-curtsinger.pdf

Blog: https://morsmachine.dk/causalprof

Running/Usage