encyclopegia.org

Branch trace

Branch trace is a computer program debugging tool or analysis technique.[src] It is an abbreviated instruction trace in which only the successful branch instructions are recorded.[src] On IBM System/360 this was implemented as part of Program-Event Recording (PER) but was seldom used at the application programming level.[src] Program Event Recording hardware was used and due to the overhead of this tool, it was removed from customer-available MVS systems.[src] Branch tracing is also available for Pentium 4, Xeon and later Intel processors.[src] There are dedicated processor commands to enable branch tracing and save executed branches into special Intel Branch Trace Store (BTS) area of resident memory.[src] The Branch Trace Store can be also configured to be a circular buffer, so that last executed branches are recorded.[src] Branch tracing on Intel processors using the Branch Trace Store can cause 40x application run-time slow down.[src] For the Intel Core M and the 5th Generation of Intel Processors, Intel PT (Processor Trace) has been introduced, which aims to provide a full control flow trace.[src] Intel PT is said to have only a minimum impact on the program's execution (< 5%).[src]

Branch trace is a computer program debugging tool or analysis technique.[src] It is an abbreviated instruction trace in which only the successful branch instructions are recorded.[src] On IBM System/360 this was implemented as part of Program-Event Recording (PER) but was seldom used at the application programming level.[src] Program Event Recording hardware was used and due to the overhead of this tool, it was removed from customer-available MVS systems.[src] Branch tracing is also available for Pentium 4, Xeon and later Intel processors.[src] There are dedicated processor commands to enable branch tracing and save executed branches into special Intel Branch Trace Store (BTS) area of resident memory.[src] The Branch Trace Store can be also configured to be a circular buffer, so that last executed branches are recorded.[src] Branch tracing on Intel processors using the Branch Trace Store can cause 40x application run-time slow down.[src] For the Intel Core M and the 5th Generation of Intel Processors, Intel PT (Processor Trace) has been introduced, which aims to provide a full control flow trace.[src] Intel PT is said to have only a minimum impact on the program's execution (< 5%).[src] ==Use== With the availability and reference to a compiler listing of the program together with a branch trace, the full path of executed instructions can be reconstructed.[src] With a lot more effort, the full path can even be reconstructed with a memory dump (containing the program storage) and a branch trace.[src] ==Alternatives== A more comprehensive trace of all the instructions (including instructions between branches) can be obtained by the use of an instruction set simulator (where available on some platforms).[src] A full instruction trace can provide additional information such as address/length and value of memory alterations.[src] ==See also== Basic block Instruction set simulator Program animation Trace cache ==External links== Introduce new branch tracer 'perf branch' by Akihiro Nagai.[src]

25 sentences · 25 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Branch trace." encyclopegia.org, 2024, https://encyclopegia.org/wiki/branch-trace. Accessed 01 December 2026.

Chicago

"Branch trace." encyclopegia.org. Accessed December 1, 2026. https://encyclopegia.org/wiki/branch-trace.

APA

encyclopegia.org. (2024). Branch trace. Retrieved December 1, 2026, from https://encyclopegia.org/wiki/branch-trace

Accessed December 1, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

horizontal branch

stub · references available

asymptotic giant branch

stub · references available

Dodson Branch

stub · references available

Roxburgh Branch

stub · references available

Billy Branch

stub · references available

Aaron Branch

stub · references available

West Branch

stub · references available

trace amine

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1265443515 · 0.5 · snapshot enwiki-001265443515

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.