1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,952 · python 20,426 · 6,408 files · digest f72e9ad3d771 · built in 1.3 s · crystals off
compute_cap_headroom
51lines
7cyclomatic
2max nesting
23statements
1? exits
4params
14callers
7callees
2.2 (p95)call-graph weight
Crystal
no crystal was derived for this function
Call neighbourhood
Callers left, callees right, two hops each way (14 direct callers, 7 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.
Control flow
Source not readable from this process.
Callers 14
- check_llm_spend_caps app-intelligence · path
- cap_headroom app-metering · path
- specific_contract_does_not_hide_parent_cap app-metering · name
- unsupported_scoped_cap_is_reported_not_hidden app-metering · name
- headroom_per_peer_matches_cap_minus_spent app-metering · name
- headroom_per_peer_isolated_between_peers app-metering · name
- headroom_global_shared_across_peers app-metering · name ×2
- headroom_per_role_reported_as_unsupported app-metering · name
- headroom_by_attribute_reported_as_unsupported app-metering · name
- per_role_cap_survives_serde_round_trip_via_storage app-metering · name ×2
- headroom_no_matching_rule_is_empty app-metering · name
- headroom_strictest_of_multiple_rules_visible app-metering · name
- headroom_exhausted_returns_zero_not_negative app-metering · name
- headroom_exactly_equals_cap_is_zero app-metering · name
Callees 7
- ManifoldRegistry::rebuild_from app-manifold · path
- AssetRef::matches_pattern runtime-contracts · method
- ManifoldRegistry::cap_rules_for_asset app-manifold · method
- cap_scope_label app-metering · name
- FlowHistory::sum_in_window app-manifold · method
- read_flow_history app-metering · name
- unsupported_cap_headroom_entry app-metering · name
Source not readable from this process.