WorksComputer Science
Control-Flow Profiling for Workload Representativeness
Abstract
Workload characterization in performance engineering often replaces expensive target executions with lower-cost proxies, including reduced datasets, miniapps, and training inputs. Such substitutions require empirical verification that the proxy faithfully exercises the target's dynamic execution behavior. This paper presents an address-keyed control-flow profiling methodology and tool suite designed to evaluate workload representativeness directly from compiled, unmodified binaries. We pair time-ordered basic-block vector (BBV) recurrence analysis with exp-branchprof, an experimental Valgrind tool that captures five orthogonal structural profile families spanning branch direction bias, four-bit global history contexts, dynamic indirect targets, function call transitions, and intraprocedural CFG edges. Our method compares weighted event distributions from two executions of the same binary. It reports support coverage, reference event-mass coverage, distribution distance, entropy-derived quantities, and phase structure, rather than claiming that a single similarity score certifies a proxy. We validate the tool with exact-oracle microbenchmarks across AArch64 and x86-64, covering conditional and inverted exits, calls, returns, direct and indirect jumps, and forked processes. We then apply the workflow to SPEC CPU2017 and CPU2026 train/reference pairs and seven refrate/refspeed pairs. The corpus contains both close matches and cases where a shorter execution reaches much of the same code but misses substantial target, callgraph, CFG, or BBV event mass. The accompanying artifact supports the same analysis for proprietary workload/proxy pairs without requiring raw PC-level profiles to leave the collection environment.
Introduction
CPU performance engineering often relies on substituting a smaller proxy for a long target workload [1, 16]. The proxy may be a benchmark train input, a miniapp, a reduced production trace, or a short simulation region. The substitution lowers collection and simulation cost, but it also creates a representativeness question. Does the proxy preserve the dynamic behavior that the downstream decision needs?
This question is consequential for compiler profiling, simulation, pre-silicon emulation, and workload selection. A proxy can reach much of the same code as its target while changing which blocks, branches, call edges, and CFG edges are hot. Code reachability alone therefore cannot establish that a proxy is appropriate for a frequency-sensitive use. Earlier work on reduced inputs, simulation points, and SPEC training workloads established that input choice can alter observed program behavior [13, 14, 19, 35, 36]. As illustrated by 729.abc in Figure 1, a proxy can diverge significantly from its target. The abc train input exercises an isolated subset of logic-synthesis commands, leaving over half of the reference workload’s dynamic execution unobserved. We provide a reusable, binary-level method for making that comparison explicit.

Figure 1. BBV phase self-similarity for 729.abc (train proxy concatenated with reference target in execution order). The training proxy achieves only 35.7% static block coverage and 48.8% dynamic event-mass coverage, missing over half (51.2%) of the reference instruction mass and failing to cover major reference phase clusters.
Our design deliberately separates measurement from speculative downstream utility. A profile can be accurate with respect to one execution yet not directly predict the behavior of a particular compiler, hardware predictor, or simulator. Langdale and Gross emphasize that profile accuracy and optimization utility are distinct [20]. Accordingly, this paper does not attempt to reduce workload representativeness to a single speculative prediction score or performance model. Instead, it provides direct, multi-view dynamic observability into where two executions agree or diverge.
The method combines two complementary forms of observation. Basic-Block Vectors (BBVs) summarize execution by basic-block activity and retain a time-ordered phase view [36]. For control flow we introduce exp-branchprof, built on the Valgrind dynamic binary instrumentation framework [30], within its VEX intermediate representation layer [31]. It collects data on five address-keyed profile families: conditional branch directions, conditional branch outcomes by four-bit global-history context, dynamic branch targets, callgraph edges, and CFG edges. All comparisons hold the binary fixed. Thus, addresses identify the same instruction stream in both runs, and differences are attributable to the execution inputs and their dynamic behavior.
We evaluate the methodology on SPEC CPU2017 and CPU2026 single-threaded workloads [6, 25]. The corpus includes 49 rate train/reference pairs and seven refrate/refspeed pairs with the same rate binary. It contains high-fidelity controls where proxy and target behave identically, as well as complex workloads where BBV support, branch targets, call edges, or CFG edge mass diverge. The case studies in § 6 demonstrate how our multi-view measurements systematically diagnose these disparities across orthogonal execution dimensions.
This paper presents five contributions:
A measurement contract for comparing two executions of the same binary using dynamic support, event mass, distributional agreement, and phase behavior.
exp-branchprof, a Valgrind/VEX tool that collects five address-keyed control-flow profile families from unmodified binaries.
Exact-oracle microbenchmarks and a reproducible validation harness for conditional exits, inverted exits, calls, returns, direct and indirect jumps, and multiprocess profile-file separation.
Rollups and comparisons for BBV, branch, history, target, callgraph, and CFG data, together with a SPEC corpus that demonstrates representative and non-representative execution pairs.
A privacy-preserving artifact workflow that returns aggregate summaries for proprietary workload/proxy studies instead of raw PC-level profiles.
Design Goals and Measurement Contract
Our objective is to compare a cheaper execution against a target execution of the same binary. The binary, ISA, compiler, linker layout, relevant environment, and intended process scope must be controlled. Controlling these execution factors is essential because address-keyed observations can be joined across executions only when an address denotes the same instruction stream. The method is therefore appropriate for proxy/full-workload, train/reference, or configuration/input comparisons, but not for comparing independently built binaries without additional symbolization or normalization.
Each profile family is a weighted event multiset. As summarized in Table 1, a key identifies a basic block, branch, branch/history pair, branch/target pair, call edge, or CFG edge, and is its dynamic count in execution . The workflow in Figure 2 evaluates which keys occur, how much target event mass the proxy covers, whether shared keys have similar relative weights, and whether the temporal BBV phase structure recurs.

Figure 2. Paired-execution workflow. The comparison is meaningful only when both inputs run the same binary under a controlled build and layout. The result is a multi-view representativeness report, not a prediction of a specific hardware or compiler outcome.
| Family | Key and Dynamic Weight | Comparison Use |
| BBV | basic-block PC; interval and whole-run execution count | phase recurrence, block support, weighted coverage, distribution overlap, cosine similarity, and hot-block coverage |
| Conditional branch | branch PC; taken and not-taken counts | branch support, outcome bias, event coverage, and taken-probability error |
| Branch history | branch PC and 4-bit history; taken and not-taken counts | outcome structure conditioned on short history and entropy reduction |
| Branch target | branch PC and target PC; transfer count | target support, reference event-mass coverage, target distribution, and target entropy error |
| Callgraph | callsite PC and callee PC; call count | dynamic call support, target fan-out, callsite hotness, and callee distribution |
| CFG | source PC and destination PC; transfer count | dynamic control-transfer support, successor distribution, and edge hotness |
Table 1. Address-keyed observations and the primary questions they answer. All dynamic counts are aggregated within a process; history state is maintained per Valgrind thread.
The method does not directly model cache behavior, hardware predictor aliasing, speculative execution, compilation profitability, or source-level semantics. It also does not declare a proxy representative from one threshold. Instead, it exposes a compact evidence set that a downstream user can interpret for the decision at hand. High support coverage with low event-mass coverage, for example, indicates that a proxy reaches many target identities but misses where the target spends time.
BranchProf Design and Implementation
We describe the design and output structures of exp-branchprof, including Valgrind-specific details.
Tool Architecture
exp-branchprof is an experimental Valgrind tool implemented at the VEX IR level. It instruments an unmodified client binary and records dynamic control transfers as address-keyed counts. This choice permits the same executable to be used for native timing, BBV collection with exp-bbv [30, 41, 42], and BranchProf collection. It also avoids source-language, debug-information, and build-system dependencies. As with other address-based dynamic tools, an address is meaningful across two runs only when both executions use the same binary image and layout.
The tool maintains five OSeGen tables and writes one CSV file per table at process termination. They respectively contain conditional branch direction counts (branch PC plus taken and not-taken columns), history-conditioned direction counts (branch PC and history), dynamic branch-target counts, dynamic call edges, and dynamic CFG edges. The last three use source/destination PC pairs and a count; callgraph source and destination are named caller and callee. The output filenames accept Valgrind’s %p expansion and therefore should include it whenever the client may fork. The artifact documents the command-line options and schemas.
Conditional Exits and Short History
VEX represents a conditional control transfer with an Ist_Exit statement. For each exit, BranchProf inserts one helper on the guarded path and one on the complementary fall-through path, keyed by the control-transfer instruction address. Some lifted conditional exits have an exit destination equal to the architectural next instruction. In that representation, the guarded VEX path corresponds to the architectural fall-through branch. BranchProf detects this inverted-exit case and swaps taken/not-taken accounting, following the convention used by Valgrind’s lackey accounting.
The history table adds a four-bit global branch-history value to the same branch-PC key. History is maintained per Valgrind thread, avoiding a shared history state across threads. It provides a compact descriptive context rather than a hardware branch-predictor simulation, omitting predictor-table aliasing, speculative updates, and misprediction penalties.
Targets and Dynamic Edges
For each VEX conditional exit, BranchProf emits a CFG edge from the instruction address to the observed destination. It also instruments the final exit of a translated block when the VEX jump kind is Ijk_Boring, Ijk_Call, or Ijk_Ret. Here, “boring” is VEX terminology for an ordinary non-call, non-return control transfer; it includes direct and indirect jumps. This handling records ordinary fall-throughs and jumps, calls, returns, and indirect destinations in the CFG profile.
For indirect final exits, the runtime destination expression is supplied to the helper, producing a dynamic branch-target distribution. Direct constant destinations are passed directly. Call exits additionally produce a callgraph edge from the callsite to the dynamic callee. Returns are CFG and branch-target events but are not callgraph calls. The common edge model is shown in Figure 3. This lighter-weight, comparison-oriented representation follows the feasibility demonstrated by Valgrind-based CFG reconstruction, while not attempting full per-function CFG recovery [33].
Figure 3. Dynamic edge representation used by BranchProf. For callgraph profiles, is a callsite and is a callee; for CFG profiles, they are a transfer source and observed destination. Edge thickness represents dynamic count.
Process and Thread Scope
Profile tables are process-local and files are emitted when each process exits. The recommended %p filenames prevent a child from overwriting its parent’s output. A later rollup may combine process files only when that matches the workload question. Within one process, the event tables aggregate all threads, while branch history remains per thread. This makes the tool usable for multithreaded clients, but the resulting aggregate reflects all threads and can be affected by Valgrind-induced schedule changes. We therefore evaluate only single-threaded SPEC runs and do not make thread-level representativeness or repeatability claims.
BBV Collection
BBVs complement BranchProf rather than duplicate it. exp-bbv collects sparse basic-block vectors over fixed instruction intervals. We use one billion instructions per interval in the SPEC study, concatenate the proxy and target interval sequences, and construct an all-pairs self-similarity matrix. Whole-run BBV histograms provide an address-keyed block distribution that can be compared by the same weighted-event machinery as the BranchProf families. The artifact’s small address-output adjustment for exp-bbv allows the histogram keys to be joined across executions of the fixed binary.
Comparison Methodology
Each profile family is a weighted multiset of dynamic event keys. Let be the dynamic count for key in execution , and let . We compare a proxy against a target . This orientation is important because coverage asks what target behavior the proxy observes, whereas accuracy asks how much proxy behavior occurs in the target.
Support, Event Mass, and Distribution
The unweighted support measures are
As illustrated in Figure 4, both metrics share the same set of overlapping keys but use different reference denominators. Coverage evaluates what fraction of target keys the proxy exercises, whereas accuracy measures how much of the proxy’s observed execution belongs to the target. These unweighted set intersections distinguish an execution that reaches many target identities from one that observes unrelated identities, but neither indicates how frequently those identities execute. Let . We therefore report reference event-mass coverage and proxy event-mass accuracy:
Figure 4. Support coverage and accuracy use the same shared-key set with different denominators. In this example, the train proxy has 200 basic-block keys, the refrate target has 300, and 100 keys are shared; accuracy is 100/200 = 50%, while coverage is 100/300 = 33%.
is the principal coverage statistic in this paper, representing the fraction of target dynamic events carried by keys seen in the proxy.
Support can agree while relative weights disagree. With normalized distributions , we use distribution overlap and total variation distance:
We also report cosine similarity for whole-run BBV histograms. These probability-distribution views are related to prior information-theoretic profile comparison work [34], but we use them as descriptive evidence rather than profile blending inputs.
BBV Phase and Hot-Region Views
For interval vector , we normalize to unit norm and compare intervals with
The resulting self-similarity matrix preserves execution order. Its off-diagonal proxy/target regions show whether target phases recur in the proxy, a use of BBVs complementary to SimPoint’s phase-selection objective [15, 35, 36]. We additionally report weighted block coverage and hot-block coverage. Let be the smallest set of target blocks, ordered by decreasing , whose cumulative count reaches 90% of target BBV weight. We report both its support coverage and the target mass carried by shared hot blocks:
This catches the common case where most blocks are shared but the proxy omits the target’s hot regions.
Outcome and Fan-Out Entropy
For a conditional branch with taken probability , binary entropy is
For each four-bit history , let be the dynamic count and the taken probability of branch . The history-conditioned entropy and the reduction attributed to this short context are
where . The rollups report errors in weighted by reference event counts, not a branch-predictor simulation.
Callgraph and CFG profiles use a common weighted dynamic-edge representation , where and denote a callsite and callee for callgraph profiles, or a transfer source and observed destination for CFG profiles. Their event volume is . We report the dynamic edge surface as unique edges , source endpoints , and destination endpoints . These quantities describe the dynamic graph exercised by an input, not the complete static program graph.
For a branch target, callsite target, or CFG successor distribution with dynamic probabilities , fan-out entropy is
All entropy values are in bits. A zero value means that the observed source was monomorphic; greater values indicate more balanced observed fan-out. Rollups report errors in probabilities and entropy, weighted by reference event counts, over keys common to both runs. These quantities explain how shared control-flow sites differ, while coverage and TVD establish whether the relevant support and dynamic mass are present.
Interpretation
No metric alone certifies representativeness. High support coverage with low means that the proxy reaches target code but misses where the target spends time. High with high TVD means the proxy covers target events but weights them differently. High branch-target coverage and low callgraph coverage can identify a call-structure mismatch that a target-only view would miss. We therefore interpret the profile families jointly, with downstream experiments used to test decision-specific usefulness rather than to redefine the measurement contract.
Validation and Operational Characteristics
Exact Semantic Oracles
We validate BranchProf with deterministic, non-PIE microbenchmarks on AArch64 and x86-64, whose assembly labels identify the expected transfer PCs. The harness executes the native and instrumented program, checks identical stdout, resolves labels with nm, and validates exact CSV rows. It covers VEX-level cases that can be overlooked in source-level testing, including inverted conditional exits, final exits with ordinary j?k_Boring jumps, direct and indirect targets, return edges, forked processes, and multithreaded aggregation with per-thread history. The checks use exact expected counts, not sampling estimates; Table 5 gives the complete expected-versus-observed matrix. The accompanying artifact packages the tests and checkers.
| Case | Expected Dynamic Record | Result |
| Conditional exit | branch taken/not-taken = 6/4; two CFG edges = 6, 4 | pass |
| Inverted Ist_Exit | branch taken/not-taken = 7/3; CFG edge = 10 | pass |
| Direct call and return | callgraph and call CFG edge = 11; return CFG and target edge = 11 | pass |
| Ijk_Boring direct jump | CFG edge = 13 | pass |
| Indirect jump | two CFG and target edges = 5, 4 | pass |
| fork() file separation | two complete profile sets; branch taken/not-taken = 3/4 and 6/2 | pass |
| Two threads | aggregate branch and CFG counts = 4/4; independent history rows TTTT (taken) and NNNN (untaken) | pass |
Table 5. Exact-oracle semantic validation. Each expected count is checked against the address-labelled CSV row emitted by BranchProf.
The accompanying broader microbenchmark exercises all five profile families with nontrivial counts and a deterministic indirect-call distribution. It is a smoke test for the full collection and output pipeline; the exact-oracle suite is the semantic test. Both suites and their checkers are packaged with the artifact.
Evaluation Platform
All SPEC experiments use the platform in Table 2. The native, BBV, and BranchProf executions use the same fixed AArch64 binary; the reported SPEC rate results are single-threaded. This controls the address-key join used by the comparison and makes the operational measurements directly comparable.
Table 2. Evaluation platform and build configuration.
Runtime Cost and Scaling
BranchProf is intended for offline workload characterization, not online production tracing. Table 3 summarizes the matched SPEC runs. Across the two suites’ train and rate-reference collections, the median slowdown ranges from to ; the CPU2017 refrate median is , and CPU2026 refrate is . The refspeed subsets are smaller and can be more expensive, so they are not used as a suite-wide cost claim.
| Suite | Input | Perf Slowdown<br>geomean/median | Peak Mem (RSS)<br>geomean/median | |
| CPU2017 | train | 33 | / | – |
| CPU2017 | refrate | 23 | / | – |
| CPU2026 | train | 31 | / | / |
| CPU2026 | refrate | 26 | / | / |
Table 3. BranchProf slowdown in matched native and instrumented SPEC runs. The CPU2026 harness also reports RSS memory sizes in its log files.
The 128 matched BranchProf records show that dynamic event rate, rather than static profile size alone, best explains the overhead. CFG transfers per native second have Spearman correlation 0.948 with slowdown; calls per native second have correlation 0.914.
The complete corpus contains 142 input-profile sets, or 710 raw BranchProf CSV files, totaling 1.41 GB. Branch-history and CFG-edge profiles dominate storage at 458 MB and 447 MB, respectively; their median file sizes are 0.95 MB and 0.90 MB, while their 90th-percentile sizes are 9.63 MB and 9.47 MB. These are practical artifact-scale figures, not a universal per-run storage estimate.
For the 52 CPU2026 rate pairs with harness-recorded peak RSS, BranchProf’s geomean/median RSS ratio is / on train and / on refrate. The corresponding median increases are 53.1 MiB and 54.8 MiB. The largest ratio is for the refrate size of 748.flightdm, where the native peak is only 4.5 MiB; the absolute increase is 44.1 MiB. These measurements are peak values reported by the SPEC harness for the complete native or Valgrind-launched execution, not the size of the emitted profile files.
Repeated-Run Stability
We repeated both train and refrate profile collection three times for three CPU2026 workloads with large train/reference fidelity gaps: 729.abc, 735.gem5, and 777.zstd. This produces three within-input pairs for each combination of {benchmark, input, profile-family} and nine train/refrate pairs. Across the five BranchProf families, the 90 within-input comparisons have event coverage of at least 0.9999999827 and TVD at most 0.000159. The largest variation is the 735.gem5 refrate branch-history profile; but its total event-count difference is only 0.01124%. Across the branch and branch-history profiles, the largest mean absolute difference (MAE) in taken probability between repeated runs, weighted by event counts from the second run, is .
These bounds do not overlap with the input effect. Every same-input repeat pair has TVD at most 0.000159, whereas every train/refrate pair has TVD at least 0.391, a separation of more than 2,400×. Similarly, the worst repeated-run taken-probability MAE is more than 2,200× smaller than the smallest cross-input MAE. Same-input event coverage remains above 0.99999998, while cross-input coverage never exceeds 0.748. Thus, changing the input produces a clear, reproducible profile difference that is far larger than collection variation for these workloads. This is a targeted single-threaded replication study, rather than a claim that every workload or multi-threaded execution has the same determinism.
Scope and Limitations
The fixed ISA and layout make the address joins well defined; they do not limit the method to AArch64, as we have also validated the entire flow on x86-64. The tool does not infer source-level names, static CFG completeness, cache behavior, predictor mispredictions, or compiler profitability. Cachegrind’s branch simulation, for example, evaluates a particular simple predictor model [38]; BranchProf instead records raw dynamic event distributions for paired-execution comparison.
The tables aggregate all client threads in a process and retain a separate four-bit history per Valgrind thread. Multithreaded execution is therefore collectible, but scheduler perturbation and interthread aggregation complicate interpretation. Users should choose process scope deliberately, use %p filenames for multiprocess clients, and avoid comparing different binary builds without an additional address-normalization layer.
Case Studies in Workload Representativeness
We apply the workflow to 49 SPEC CPU2017 and CPU2026 rate train/refrate pairs and seven refate/refspeed pairs [6, 25]. The goal is not to rank every benchmark with one score. Rather, the cases demonstrate how our multi-view report distinguishes close pairs, broad dynamic mismatches, and family-specific counterexamples. Table 4 summarizes six archetypal pairings, each directly illustrated by an empirical phase recurrence visualization in the paper. It reports BBV coverage alongside all five BranchProf families; cells are shaded with a gradient reflecting their deficit from complete coverage (1.000, white). The full per-benchmark rollups and comprehensive data tables are provided in the accompanying artifact.
| Benchmark | Comparison | BBV | Br. | Hist. | Tgt. | CG | CFG | Interpretation |
| 709.cactus_r | train / refrate | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | high-fidelity control |
| 782.lbm_r | train / refrate | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | high-fidelity control |
| 729.abc_r | train / refrate | 0.488 | 0.482 | 0.382 | 0.735 | 0.673 | 0.488 | broad event-mass mismatch |
| 735.gem5_r | train / refrate | 0.547 | 0.538 | 0.521 | 0.567 | 0.510 | 0.538 | target and edge mismatch |
| 519.lbm_r | train / refrate | 0.990 | 1.000 | 0.985 | 0.999 | 0.515 | 0.992 | callgraph threshold failure |
| 729.abc_r | refrate / refspeed | 1.000 | 1.000 | 1.000 | 0.999 | 0.998 | 0.999 | high coverage, high BBV TVD |
Table 4. Selected paired-execution coverage reports. is target event-mass coverage by proxy-observed keys. The five BranchProf columns are conditional-branch direction (Br.), branch history (Hist.), branch target (Tgt.), callgraph (CG), and CFG edge (CFG); BBV values are weighted coverage.
Controls and Mismatches
The CPU2026 709.cactus and 782.lbm pairs in Table 4 (rows 1 and 2) represent high-fidelity controls. Their whole-run BBV weighted coverage and hot-block coverage are 100%, and all reported five BranchProf event-mass coverages are 1.000. As shown in Figure 5a and Figure 6b, the off-diagonal recurrence mirrors the diagonal, showing that every dynamic phase observed during reference execution recurs during the train proxy. This unanimous agreement across independently collected BBV and control-flow views is the empirical signature expected of a useful proxy.

Figure 5. BBV phase self-similarity contrasting a high-fidelity control against a structural mismatch (train proxy concatenated with reference target). In (a) 709.cactus, all dynamic phases recur (100% weighted coverage). In (b) 735.gem5, prominent reference phases (dark off-diagonal regions) are entirely unexercised by the proxy (54.7% coverage).

Figure 6. BBV phase self-similarity for 519.lbm (CPU2017) and 782.lbm (CPU2026). Both workloads exhibit near-perfect basic-block recurrence between train and reference (99.0% and 100% BBV coverage). However, while 782.lbm maintains complete fidelity across all BranchProf families (1.000 callgraph and CFG coverage), 519.lbm conceals a major callgraph divergence (0.515 coverage), demonstrating why BBV recurrence alone cannot certify proxy fidelity without fine-grained control-flow profiling.
In contrast, 729.abc and 735.gem5 are broad mismatches, and demonstrate that nominal code reachability can mask dynamic event-mass collapse. For 729.abc, the train run covers only 48.8% of dynamic reference BBV mass; its BranchProf coverage ranges from 0.382 for branch history to 0.735 for branch targets (Table 4, row 3). As illustrated in the front-page recurrence plot (Figure 1, Page 1), the training proxy exercises an isolated subset of logic-synthesis commands [5, 37], leaving over half of the reference workload’s execution mass unobserved.
Similarly, 735.gem5 reaches most of its proxy support but omits substantial target event mass. Its BBV weighted coverage is 54.7%, while the five BranchProf families range from 0.510 callgraph coverage to 0.567 branch-target coverage (Table 4, row 4). The BBV phase view in Figure 5b visualizes this mismatch temporally. Several prominent target execution regions (the dark off-diagonal blocks) lack a close proxy counterpart because the train input exercises a restricted architectural component, leaving major simulation sub-systems inactive.
Why Multiple Families Matter
A single observation family—whether basic-block vectors, branch targets, or static reachability—cannot reliably certify workload representativeness. The remaining pairings in Table 4 illustrate why multi-family profiling is necessary.
CPU2017 519.lbm and CPU2026 782.lbm provide a directly diagnostic contrast across two generations of the same fluid-dynamics application. As shown in Figure 6, both benchmarks exhibit near-perfect basic-block phase recurrence between train and reference (Figure 6a and Figure 6b), covering 99.0% and 100% of dynamic BBV event mass, respectively. If evaluated by basic-block vectors alone, both would be certified as high-fidelity proxies. However, while 782.lbm achieves 1.000 event coverage across all five BranchProf families (Table 4, row 2), 519.lbm covers only 0.515 of dynamic reference callgraph event mass (Table 4, row 5), despite 0.999 branch-target coverage and 0.992 CFG-edge coverage. A basic-block or branch-target view alone misses this structural shift in dynamic call behavior. The profile families are not competing similarity scores; they expose distinct, orthogonal ways a proxy can be incomplete.
Finally, the refrate/refspeed comparison demonstrates that representativeness gaps are not restricted to training inputs. For 729.abc, refrate covers 99.86% of refspeed dynamic BBV mass, 0.999 of branch targets, 0.998 of callgraph edges, and 0.999 of CFG edges (Table 4, row 6). By conventional support coverage, refrate appears to be an exhaustive superset. However, as shown in Figure 7, the shared behavior is weighted differently. Weighted accuracy drops to 31.8%, and Total Variation Distance reaches 86.2%. Phase intervals that dominate refrate shrink to brief transients in refspeed, and vice versa. This case uses the identical compiled rate binary image for both executions; the divergence therefore arises from workload invocation and input scale rather than compiler flags or binary layout. It underscores that high coverage cannot serve as a proxy-quality certificate when relative phase weights are heavily distorted.

Figure 7. BBV phase self-similarity for 729.abc comparing refrate against refspeed. While support coverage is nearly complete (99.9%), the temporal phase structure reveals significant distributional skew (TVD = 86.2%, weighted accuracy 31.8%). High code coverage does not guarantee that execution time is spent in the same relative proportions.
Related Work
We position our work against prior research in benchmark representativeness, phase sampling, dynamic binary instrumentation, and profile comparison.
Proxy Representativeness
Benchmarking suites serve as standard proxies for real-world application behavior across computer systems performance evaluation [6, 25]. However, the empirical fidelity of benchmark proxies depends on input selection. Eckhout et al. [9] established that benchmark input datasets alter dynamic execution paths, cache utilization, and microarchitectural bottlenecks. Subsequent performance-engineering research formalized workload similarity using statistical clustering, principal component analysis, and distance metrics over hardware performance counters to quantify benchmark redundancy and suite coverage [2, 12, 17].
In standard benchmark suites, reduced or ‘train’ inputs are routinely employed in place of full reference runs to reduce execution turnaround. Gove and Spracklen [13, 14] examined SPEC CPU2006, questioning whether training inputs faithfully exercise the same execution paths as reference workloads. While their investigation evaluated this discrepancy primarily through the lens of compiler feedback, our work formulates a broader, architecture-agnostic measurement contract. We extend beyond simple basic-block counts to capture multi-faceted control-flow distributions—including direction bias, history-conditioned correlation, indirect branch targets, dynamic callgraphs, and CFG edge topologies—applicable to any paired execution of an identical binary across distinct inputs or runtime configurations.
Sampling, BBVs, and Phase Dynamics
To mitigate the massive execution overhead of cycle-accurate architectural simulation, input-reduction initiatives such as MinneSPEC [19] developed truncated workloads, though subsequent evaluations demonstrated that synthetic downsizing frequently distorts algorithmic behavior. Rather than constructing artificial inputs, SimPoint [15, 35, 36] popularized frequency vectors of basic blocks
(BBVs) to divide dynamic instruction streams into fixed-length intervals, clustering them into recurrent behavioral phases to identify compact, statistically representative simulation windows. Complementing interval clustering, SMARTS [44] leveraged periodic statistical sampling to approximate full-length benchmark behavior with high statistical confidence.
In our framework, basic-block vectors serve an entirely distinct evaluative objective. Rather than selecting intra-run checkpoints for a single execution, we construct whole-run BBV frequency distributions and cross-execution recurrence maps to audit whether a candidate proxy reaches and proportionally weights the same dynamic phases as its reference target. While recurrence and self-similarity matrices have established utility across dynamical systems [26], acoustic analysis [11, 28], human motion tracking [18], and memory-trace visualization [7], our workflow applies normalized Euclidean BBV distance matrices directly in the instruction domain. This representation cleanly distinguishes internal phase progression along the diagonal from cross-execution divergence in off-diagonal blocks.
Dynamic Binary Instrumentation
Dynamic binary instrumentation (DBI) engines provide non-invasive execution observability without requiring source access, debug symbols, or compiler modifications [30]. Within the Valgrind ecosystem, tools such as Cachegrind [38] couple binary instrumentation with simulated hardware models, estimating branch mispredictions through fixed-capacity two-bit saturating counter tables and branch-target buffers. However, microarchitectural simulation binds observational data to a specific, idealized hardware design, predicting machine-dependent failure rates rather than workload properties.
In contrast, exp-branchprof intentionally eschews hardware modeling. It captures raw, empirical frequency distributions of dynamic control-flow events across branches, histories, targets, and call sites. Preserving concrete event multisets enables symmetric, machine-independent comparisons between paired executions of unmodified binaries. Building upon the foundational insight of Yeh and Patt [10, 32] that recent global history exposes branch correlation patterns, our tool records a lightweight 4-bit history context not to simulate a hardware predictor, but to quantify how local execution context reduces empirical outcome entropy between workload pairs.
Structural Graph Recovery
Binary analysis frameworks such as CFGgrind [33], Dyninst [27], and DCFG/PinPlay [45] emphasize structural recovery, reconstructing complete, topologically sound control-flow graphs from machine code for decompilation, program understanding, or binary rewriting. In contrast, we specifically tailor exp-branchprof for paired statistical workload comparison. Extending classical edge-frequency instrumentation concepts [4], our profiler aggregates address-keyed event multisets into compact mathematical rollups rather than maintaining explicit graph topologies with source attribution.
This architectural distinction yields two practical advantages for performance engineering. First, it minimizes runtime memory footprint and eliminates graph-traversal overhead during collection. Second, it enables closed-form statistical distance calculations such as total variation distance, event-mass coverage, and fan-out entropy. It also facilitates privacy-preserving summary exports, allowing industrial engineering teams to share diagnostic fidelity metrics for proprietary customer workloads without disclosing proprietary source code, symbol names, or instruction bytes. Furthermore, while binary similarity frameworks [21, 22, 40] compare static or dynamic graphs across varying compilation settings or architectures, our protocol strictly holds the binary fixed, isolating input-induced control-flow drift.
Profiler Trust, Validation, and Optimization
A primary requirement in performance engineering is profiler correctness and repeatability. Mytkowicz [29] demonstrated that measurement bias can produce misleading conclusions in systems evaluation, while Weaver [42] exposed the non-determinism and hardware counter inaccuracies common across modern processors. To establish empirical trust, our methodology incorporates exact-oracle semantic validation on deterministic, non-PIE AArch64 microbenchmarks, confirming that all recorded events match architectural ground truth down to individual CSV rows, complemented by operational bounds on run stability and memory overhead.
The challenge of comparing execution profiles has an extensive history. Information-theoretic profile blending was introduced by Savari [34], who applied relative entropy to reconcile disparate branch profiles. In early investigations, Wall [39] explored empirical profile estimation, while Wus [43] devised static branch heuristics to predict path probabilities. Langdale [20] demonstrated that profile accuracy does not imply profile usefulness. High similarity under a given profile metric does not guarantee proportional performance gains in downstream consumers because compiler heuristics, inlining thresholds, and register allocation mediate the outcome.
While a concurrent study focuses specifically on compiler optimizations and investigates how train-input fidelity gaps degrade downstream Profile-Guided Optimization across compilers and architectures [24], our framework intentionally decouples workload representativeness measurement from downstream optimizer heuristics. By treating multi-view control-flow fidelity as an objective diagnostic property of the workload pair, our methodology provides performance engineers with actionable visibility into proxy representativeness before any specific optimization or simulation pipeline is invoked.
Conclusion
A cheaper execution is not automatically a representative proxy for a longer one. It can reach the same code while missing target event mass, changing relative hotness, or altering the dynamic call and control-flow structure. This paper presents a measurement contract to make those differences explicit. The methodology compares two controlled executions of the same binary using BBV phase and histogram distributions alongside five address-keyed BranchProf profile families.
exp-branchprof records conditional directions and short-history contexts, branch targets, callgraph edges, and CFG edges from unmodified binaries. Exact-oracle tests validate its handling of conditional and inverted exits, direct and indirect jumps, calls, returns, and process-separated output. The SPEC cases show both high-fidelity controls and mismatches that would be hidden by code reachability alone, including a callgraph mismatch despite nearly complete branch-target coverage.
The intended output is evidence for an engineering decision, not a universal proxy score or a model of a particular compiler or processor. The accompanying artifact packages the pinned Valgrind patch, tests, collection scripts, and aggregate rollups so that proprietary workload/proxy pairs can be measured without returning raw PC-level profiles.
References
Extended Metric Interpretation and Visualization Details
This appendix records supplementary reading aids and derived quantities for the metrics defined in § 4.
BBV self-similarity plots. The self-similarity matrices use the normalized BBV distance defined in § 4. Square-root color normalization expands contrast among small distances; the train/reference boundary is a separator rather than a data row or column. The colorbar represents BBV distance, so smaller values indicate more similar basic-block mixtures. The matrices preserve execution order, but their dimensions are intervals defined by instruction count, not wall-clock time.
For aggregate BBV histograms, cosine similarity is
It emphasizes alignment of the unnormalized histogram directions and is insensitive to total event volume.
Entropy units and profile-specific interpretation. All entropy and error-prone values use base-2 logarithms and are reported in bits (shannons). A balanced binary branch has 1 bit of entropy, and equally likely targets have bits. Entropy reductions and errors are in bits; relative reductions are unitless. For the profile families:
Conditional-branch entropy is taken/not-taken uncertainty at a static branch PC. Zero bits means that only one outcome was observed; one bit means the outcomes were evenly split.
Branch-history entropy is the remaining outcome uncertainty after conditioning on the four-bit global-history bucket. Its reduction is the uncertainty explained by that short history.
Branch-target entropy is uncertainty over the target PCs observed from a branch or call site. A monomorphic site has zero bits; equally likely targets have bits.
Callgraph target entropy is callee-target uncertainty at a callsite, and caller entropy is incoming-caller uncertainty at a callee.
CFG successor entropy is destination uncertainty from a source PC, and predecessor entropy is incoming-source uncertainty at a destination PC.
Dynamic entropy rankings. For within-execution diagnosis, the artifact ranks a branch by , its dynamic uncertainty contribution in bit-events, and by , the dynamic uncertainty explained by four-bit history. These rankings distinguish rare high-entropy branches from branches that materially contribute to an execution’s uncertainty. They are diagnostic quantities, not additional proxy-fidelity criteria; , when , is the corresponding unitless fraction explained by history.
Exact-Oracle Validation
Table 5 gives the complete expected-versus-observed matrix for the deterministic, address-labelled exact-oracle microbenchmarks summarized in § 5.
Artifact Appendix
Abstract. The artifact provides the implementation, deterministic validation suites, raw illustrated-case profiles, repeatability data, aggregate corpus summaries, and analysis scripts used in this paper. It regenerates the numerical inputs for the operational-cost and case-study tables, the BBV recurrence plots, and the repeated-run stability results. It also provides configuration stanzas for collecting new profiles with a separately licensed SPEC CPU installation.
Artifact checklist
Program: Source patches for Valgrind exp-branchprof, AArch64 and x86-64 exact-oracle microbenchmarks, and a five-profile-family smoke test.
Data: Raw BranchProf and BBV profiles for the six illustrated cases, 90 repeated-run profiles, all-suite aggregate rollups, and sanitized matched native/instrumented runtime samples. SPEC CPU source, binaries, and inputs are not redistributed.
Requirements: The data-reproduction path requires Linux and Python 3.10 or newer. Rendering also requires Matplotlib; rebuilding BBV matrices requires a C++20 compiler. New collection and the exact semantic tests require patched Valgrind on AArch64 or x86-64. Root privileges are not required.
Metrics: Support and event-mass coverage, total variation distance, taken-probability MAE, entropy in bits (shannons), Jensen–Shannon divergence, and BBV cosine/distance measures.
Output: CSV tables, six PNG recurrence plots, raw-rollup reports, repeatability summaries, and terminal semantic-test assertions.
Variation: Generated tables and repeatability reports are checked byte-for-byte. Rebuilt BBV matrices allow maximum absolute difference , accounting for parallel floating-point reduction.
Access and workflow. The artifact is permanently archived at https://doi.org/10.5281/zenodo.24160599 [23]. From the extracted artifact root, the fast deterministic path is:
python3 artifact.py reproduce-and-verify --output result
It verifies 12 deterministic outputs without SPEC CPU, a compiler, Valgrind, network access, or root access. The complete bundled-data workflow is:
python3 artifact.py all --output result
It additionally renders six plots, recomputes six raw case comparisons, verifies repeatability, and rebuilds six BBV matrices. The artifact’s README.md and GETTING_STARTED.md give prerequisites, expected outputs, a portable container path, and a staged guide for new users.
Resources and scope. The compressed archive is approximately 111 MB and expands to approximately 0.9 GB; reserve 2 GB for the full workflow. On a 32-core AArch64 evaluation host, the complete workflow takes about ten minutes; on a tested 40-vCPU x86-64 host, it takes about four minutes. The address-keyed comparisons require the same binary image and layout for both executions and characterize control-flow agreement; they do not predict a specific compiler transformation or microarchitectural effect.
References
- [1]Omar Azar, Jeanine Cook, Jonathan Cook, Tanner Jeudeman, David Richards, and Courtenay Vaughan. 2018. A Methodology for Characterizing the Correspondence Between Real and Proxy Applications. In 2018 IEEE International Conference on Cluster Computing (CLUSTER). IEEE, Belfast, UK, 190–200. doi:10.1109/CLUSTER.2018.00037
- [2]Jose Nelson Amaral, Edson Borin, Dylan R. Ashley, Caian Benedicto, Elliot Colp, Joao Henrique Stange Hoffman, Marcus Karpoff, Erick Ochoa, Morgan Redshaw, and Raphael Ernani Rodrigues. 2018. The Alberta Workloads for the SPEC CPU 2017 Benchmark Suite. In IEEE ISPASS. IEEE, Belfast, UK, 159–168. doi:10.1109/ISPASS.2018.00029
- [3]Ampere. 2024. AmpereOne® Product Brief. https://amperecomputing.com/briefs/ampereone-family-product-brief Accessed: May 2, 2026.
- [4]Thomas Ball and James R. Larus. 1994. Optimally Profiling and Tracing Programs. ACM Transactions on Programming Languages and Systems (TOPLAS) 16, 4 (1994), 1319–1360. doi:10.1145/183432.183527DOI
- [5]Robert Byantson and Alan Mishchenko. 2010. ABC: An Academic Industrial-Strength Verification Tool. In Computer Aided Verification. Springer Berlin Heidelberg, Berlin, Heidelberg, 24–40. doi:10.1007/978-3-642-14295-6_5
- [6]James Bucek, Klaus-Dieter Lange, and Joakim v. Kistowski. 2018. SPEC CPU2017: Next-Generation Compute Benchmark. In Companion of the 2018 ACM/SPEC International Conference on Performance Engineering (Berlin, Germany) (ICPE ’18). ACM, New York, 41–42. doi:10.1145/3185768.3185771DOI
- [7]Sriyash Caculo, Mahesh Madhav, and Jeff Baxter. 2025. Memory Access Vectors: Improving Sampling Fidelity for CPU Performance Simulations. In ARM-based General-Purpose Computing (ISCA’25 Workshop). arXiv, Tokyo, Japan. arXiv:2506.02344 [cs.AR]. https://arxiv.org/abs/2506.02344
- [8]David Carlson, Nikolay Simakov, Rodrigo Ristov Vlachlich, Anthony Curtis, Joshua Martin, Gaurav Verma, Smeet Cheda, Firat Coskun, Raul Gonzalez, Daniel Wood, Feng Zhang, Robert Harrison, and Eva Siegmann. 2025. The AmpereOne A192-32X in Perspective: Benchmarking a New Standard. In Proceedings of the 2025 International Conference on High Performance Computing in Asia-Pacific Region Workshops (Hsinchu, Taiwan) (HPC Asia ’25 Workshops). ACM, New York, NY, USA, 33–35. doi:10.1145/3703001.3724384
- [9]Lieven Eeckhout, Hans Vandierendonck, and Koen De Bosschere. 2003. Quantifying the Impact of Input Data Sets on Program Behavior and its Applications. Journal of Instruction-Level Parallelism 5 (April 2003), 1–33. https://jilp.org/vol5/vpaper1.pdf
- [10]Marius Evers, Sanjay J. Patel, Robert S. Chappell, and Yale N. Patt. 1998. An Analysis of Correlation and Predictability: What Makes Two-Level Branch Predictors Work. In Proceedings of the 25th Annual International Symposium on Computer Architecture (Barcelona, Spain) (ISCA ’98). IEEE Computer Society, USA, 52–61. doi:10.1145/279358.279368DOI
- [11]Jonathan Foote. 1999. Visualizing Music and Audio Using Self-similarity. In Proceedings of the Seventh ACM International Conference on Multimedia (Part 1) (Orlando, Florida, USA) (MULTIMEDIA ’99). ACM, New York, NY, USA, 77–80. doi:10.1145/319463.319472DOI
- [12]Ilya Gluhovsky and Lodewijk Bonebakker. 2009. Defining Relevant Distances Between Server Workloads. Performance Evaluation 66, 9 (2009), 544–556. doi:10.1016/j.peva.2009.03.004DOI
- [13]Darryl Gove and Lawrence Spracklen. 2007. Evaluating the Correspondence Between Training and Reference Workloads in SPEC CPU2006. SIGARCH Comput. Archit. News 35, 1 (March 2007), 122–129. doi:10.1145/1241601.1241624DOI
- [14]Darryl Gove, Lawrence Spracklen, and John Henning. 2006. Evaluating Whether the Training Data Provided for Profile Feedback is a Realistic Control Flow for the Real Workload. www.spec.org/workshops/2006/slides/09_Evaluating.pdf
- [15]Greg H. Hermelin, Erez Perelman, Jeremy Lau, and Brad Calder. 2005. Spin Point 3.0: Faster and More Flexible Program Phase Analysis. Journal of Instruction-Level Parallelism 7 (Sept. 2005). https://jilp.org/vol7/vpaper14.pdf
- [16]Michael A. Heroux, Douglas W. Doerfler, Paul S. Crozier, James M. Willenbring, H. Carter Edwards, Alan Williams, Mahesh Rajan, Eric R. Keiter, Heidi K. Thornquist, and Robert W. Numrich. 2009. Improving Performance via Mini-applications. Technical Report SAND2009-5574. Sandia Nat’l Laboratories, Albuquerque, NM, USA. doi:10.2172/993908DOI
- [17]Ajay Joshi, Aashish Phansalkar, Lieven Eeckhout, and Lizy K. John. 2006. Measuring Benchmark Similarity Using Inherent Program Characteristics. IEEE Trans. Comput. 55, 6 (2006), 769–782. doi:10.1109/TC.2006.85DOI
- [18]Imran N. Junejo, Emilie Dexter, Ivan Laptev, and Patrick Pérez. 2008. Cross-View Action Recognition from Temporal Self-similarities. In Computer Vision – ECCV 2008, David Forsyth, Philip Torr, and Andrew Zisserman (Eds.). Springer, Berlin, Heidelberg, 293–306. https://doi.org/10.1007/978-3-540-88688-4_22
- [19]A.J. KleinOsowski and D.J. Lilja. 2002. MineSPEC: A New SPEC Benchmark Workload for Simulation-Based Computer Architecture Research. IEEE Computer Architecture Letters 1, 1 (2002), 7–7. https://doi.org/10.1109/L-CA.2002.8
- [20]Geoff Langdale and Thomas Gross. 2003. Evaluating the Relationship Between the Usefulness and Accuracy of Profiles. In Proceedings of the 2003 Workshop on Duplicating, Deconstructing, and Debunking (WDDD ’03). UWork, San Diego, CA, USA, 46–57. https://pharm.ece.wisc.edu/wddd/2003/wddd2003_proceedings.pdf
- [21]Cuong Chi Le, Hoang Nhat Phan, Huy Nhat Phan, Tien N. Nguyen, and Nghi D. Q. Bui. 2025. CodeFlow: Program Behavior Prediction with Dynamic Dependencies Learning. In 2025 IEEE/ACM Second International Conference on AI Foundation Models and Software Engineering (FORGE). IEEE, Ottawa, Canada, 192–203. doi:10.1109/Forge66646.2025.00029
- [22]Xiao Li, Jiajia Sun, Yongguang Zhang, Xiaokang Yin, and Shengli Liu. 2025. Binary Similarity Detection Based on Intermediate Representation Graph Fusion. In Proceedings of the 2025 4th International Conference on Cryptography, Network Security and Communication Technology (Zhengzhou, China) (CNSCT ’25). ACM, New York, NY, USA, 106–114. doi:10.1145/3723890.3723908
- [23]Mahesh Madhav. 2026. Control-Flow Profiling for Workload Representativeness: Artifact. doi:10.5281/zenodo.24160599arxiv.org/abs/2611.16889
- [24]Mahesh Madhav. 2027. The Illusion of Reachability: Control-Flow Fidelity of SPEC CPU Train Workloads. In International Symposium on Code Generation and Optimization (CGO 2027) (Salt Lake City, Utah).
- [25]Mahesh Madhav et al. 2026. SPEC CPU: The Next Generation. In 2026 ACM/IEEE 53rd Annual International Symposium on Computer Architecture (ISCA). Raleigh, NC, 671–687. arXiv:2605.01575 [cs.PF]. doi:10.1109/ISCA66397.2026.00059DOI
- [26]Norbert Marwan, M. Carmen Romano, Marco Thiel, and Jürgen Kurths. 2007. Recurrence Plots for the Analysis of Complex Systems. Physics Reports 438, 5 (2007), 237–329. doi:10.1016/j.physrep.2006.11.001
- [27]Xiaozhu Meng and Barton P. Miller. 2016. Binary Code is Not Easy. In Proceedings of the 25th International Symposium on Software Testing and Analysis. ACM, New York, NY, USA, 24–35. doi:10.1145/2931037.2931047DOI
- [28]Meinard Müller and Michael Clausen. 2007. Transposition-Invariant Self-Similarity Matrices. In Proceedings of the 8th International Conference on Music Information Retrieval, ISMIR 2007, Vienna, Austria, September 23–27, 2007, Simon Dixon, David Bainbridge, and Rainer Typke (Eds.). Austrian Computer Society, Vienna, Austria, 47–50. http://ismir2007.ismir.net/proceedings/ISMIR2007_p047_mullermuller.pdfDOI
- [29]Todd Mytkowicz, Amer Diwan, Matthias Hauswirth, and Peter F. Sweeney. 2009. Producing Wrong Data Without Doing Anything Obviously Wrong!. In Proceedings of the 14th International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS). ACM, Washington, DC, 265–276. doi:10.1145/1508244.1508275DOI
- [30]Nicholas Nethercote and Julian Seward. 2007. Valgrind: a Framework for Heavyweight Dynamic Binary Instrumentation. In Proceedings of the 28th ACM SIGPLAN Conference on Programming Language Design and Implementation (San Diego, California, USA) (PLDI ’07). ACM, New York, NY, USA, 89–100. doi:10.1145/1250734.1250746DOI
- [31]Nicholas Nethercote, Robert Walsh, and Jeremy Fitzhardinge. 2006. Building Workload Characterization Tools with Valgrind. In Invited tutorial, IEEE International Symposium on Workload Characterization (IISWC 2006). IEEE, San Jose, CA. https://valgrind.org/docs/iisw2006.pdf
- [32]Shien-Tai Pan, Kimming So, and Joseph T. Rahmeh. 1992. Improving the Accuracy of Dynamic Branch Prediction Using Branch Correlation. In Proceedings of the Fifth International Conference on Architectural Support for Programming Languages and Operating Systems (Boston, Massachusetts, USA) (ASPLOS V). ACM, New York, NY, USA, 76–84. doi:10.1145/143365.143490DOI
- [33]Andrei Rimsa, José Nelson Amaral, and Fernando M. Q. Pereira. 2021. Practical Dynamic Reconstruction of Control Flow Graphs. Software: Practice and Experience 51, 2 (2021), 353–384. doi:10.1002/spe.2907
- [34]Serap Saravı and Cliff Young. 2000. Comparing and Combining Profiles. Journal of Instruction Level Parallelism 2 (May 2000), 20 pages. https://jilp.org/vol2/v2paper4.pdf
- [35]T. Sherwood, E. Perelman, and B. Calder. 2001. Basic Block Distribution Analysis to Find Periodic Behavior and Simulation Points in Applications. In Proceedings 2001 International Conference on Parallel Architectures and Compilation Techniques. IEEE, Barcelona, Spain, 3–14. doi:10.1109/PACT.2001.953283
- [36]Timothy Sherwood, Erez Perelman, Greg Hamerly, and Brad Calder. 2002. Automatically Characterizing Large Scale Program Behavior. In Proceedings of the 10th International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS X). ACM, San Jose, California, 45–57. doi:10.1145/605509.605403
- [37]SPEC. 2026. 729.abc_b Benchmark Description. https://www.spec.org/cpu2026/docs/benchmarks/729.abc_r/729.abc_r.html
- [38]Valgrind Developers. 2026. Cachegrind Manual. https://valgrind.org/docs/manual/cg-manual.html
- [39]David W. Wall. 1991. Predicting Program Behavior Using Real or Estimated Profiles. In Proceedings of the ACM SIGPLAN 1991 Conference on Programming Language Design and Implementation (PLDI ’91). ACM Press, New York, NY, USA, 59–70. doi:10.1145/113445.113451DOI
- [40]Hao Wang, Zeyu Gao, Chao Zhang, Mingyang Sun, Yuchen Zhou, Han Qiu, and Xi Xiao. 2024. CBin: A Cost-Effective Framework for Large-Scale Binary Code Similarity Detection. In Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis (Vienna, Austria) (ISSTA 2024). ACM, New York, NY, USA, 149–161. doi:10.1145/3650212.3652117DOI
- [41]Vince Weaver. 2009. epp-bbv: Valgrind plugin that makes SimPoint Basic Block Vector Files. https://valgrind.org/docs/manual/bbv-manual.html
- [42]Vincent M. Weaver and Sally A. McKee. 2008. Using Dynamic Binary Instrumentation to Generate Multi-Platform SimPoints: Methodology and Accuracy. In Proceedings of the 3rd International Conference on High Performance Embedded Architectures and Compilers (HiPEAC) (Lecture Notes in Computer Science, Vol. 4917). Springer, Göteborg, Sweden, 305–319. doi:10.1007/978-3-540-75506-7_21
- [43]Young Wu and James R. Larus. 1994. Static Branch Frequency and Program Profile Analysis. In Proceedings of the 27th Annual International Symposium on Microarchitecture (MICRO 27). ACM Press, New York, NY, USA, 1–11. doi:10.1145/192724.192725
- [44]R.E. Wunderlich, T.F. Wenisch, B. Falsafi, and J.C. Hoe. 2003. SMARTS: Accelerating Microarchitecture Simulation via Rigorous Statistical Sampling. In 30th Annual International Symposium on Computer Architecture, 2003. Proceedings. IEEE, New York, NY, 84–95. doi:10.1109/ISCA.2003.1206991DOI
- [45]Charles Yount, Harish Patil, Mohammad S. Islam, and A. Srikanth. 2015. Graph-Matching-Based Simulation-Region Selection for Multiple Binaries. In 2015 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS). IEEE, Philadelphia, PA, 52–61. doi:10.1109/ISPASS.2015.7095784

