mirror of
https://github.com/git/git.git
synced 2024-12-04 07:24:41 +08:00
81071626ba
Add global counters mechanism to Trace2. The Trace2 counters mechanism adds the ability to create a set of global counter variables and an API to increment them efficiently. Counters can optionally report per-thread usage in addition to the sum across all threads. Counter events are emitted to the Trace2 logs when a thread exits and at process exit. Counters are an alternative to `data` and `data_json` events. Counters are useful when you want to measure something across the life of the process, when you don't want per-measurement events for performance reasons, when the data does not fit conveniently within a region, or when your control flow does not easily let you write the final total. For example, you might use this to report the number of calls to unzip() or the number of de-delta steps during a checkout. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
||
---|---|---|
.. | ||
.gitignore | ||
api-error-handling.txt | ||
api-index-skel.txt | ||
api-index.sh | ||
api-merge.txt | ||
api-parse-options.txt | ||
api-simple-ipc.txt | ||
api-trace2.txt | ||
bitmap-format.txt | ||
bundle-uri.txt | ||
commit-graph.txt | ||
directory-rename-detection.txt | ||
hash-function-transition.txt | ||
long-running-process-protocol.txt | ||
multi-pack-index.txt | ||
pack-heuristics.txt | ||
packfile-uri.txt | ||
parallel-checkout.txt | ||
partial-clone.txt | ||
racy-git.txt | ||
reftable.txt | ||
remembering-renames.txt | ||
repository-version.txt | ||
rerere.txt | ||
scalar.txt | ||
send-pack-pipeline.txt | ||
shallow.txt | ||
sparse-index.txt | ||
trivial-merge.txt |