Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off

crates/cre8-app-emulation/src/session.rs

cre8-app-emulation · module session · src · 2,464 lines (1,928 code, 337 comment) · sha e2b1983a19948dcc

Items

const COMPLETE_CHECKPOINT_V1_CONTRACT const CARTRIDGE_STORAGE_V1_CONTRACT const MANUAL_FRAME_V1_CONTRACT static NEXT_SESSION_GENERATION const MANUAL_FRAME_MAX_BYTES const MANUAL_READ_MAX_BYTES struct ManualFrameReport impl ManualFrameReport enum RunLoopControlBoundary struct EmulationSession struct CartridgeStorageBinding impl CartridgeStorageBinding const CARTRIDGE_AUTOSAVE_INTERVAL struct TestCartridgeAutosaveElapsedGuard impl Drop for TestCartridgeAutosaveElapsedGuard struct CartridgeAutosaveCadence impl CartridgeAutosaveCadence struct RomPatchState struct RomPatchReport const STRUCTURAL_IMAGE_FORMAT struct EmulationConfig struct SolverPlanFrameInput struct SolverCheckpointProbe struct SolverPlanApplyReport struct SolverCheckpointSolveConfig struct SolverCheckpointSolveReport struct LiveHotSwapReport struct LiveHotSwapUndoReport struct HotSwapUndoEntry struct RuntimeBackendAssembly struct PreparedEmulationSession impl PreparedEmulationSession impl RuntimeBackendAssembly struct PublishedFrame impl EmulationSession impl Drop for EmulationSession const CHECKPOINT_STRATEGY_ALIASES enum CheckpointProbeKind const ARCH_ALIASES

Functions

By call-graph weight (PageRank; 1.0 is the average function). 131 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
EmulationSession::stopsrc/session.rs:2041method1933024.9
EmulationSession::allow_guest_mutationsrc/session.rs:904method72904.6
CartridgeStorageBinding::is_durablesrc/session.rs:237method101404.2
EmulationSession::save_full_state_bytessrc/session.rs:1019method1134004
EmulationSession::meta_contextsrc/session.rs:1847method101503.9
flush_bound_cartridge_storagesrc/session.rs:297fn6013223.7
flush_owned_cartridge_storagesrc/session.rs:358fn81713.2
EmulationSession::hot_swap_history_depthsrc/session.rs:1060method31703.1
EmulationSession::is_retiredsrc/session.rs:2061method311703
EmulationSession::preparesrc/session.rs:687method332572.8
EmulationSession::current_pcsrc/session.rs:1828method621302.8
EmulationSession::frame_slotsrc/session.rs:2003method31902.7
EmulationSession::pause_with_priorsrc/session.rs:1796method122312.5
EmulationSession::load_state_bytessrc/session.rs:996method112422.4
EmulationSession::load_full_state_bytessrc/session.rs:1034method2131612.4
EmulationSession::read_memory_bytessrc/session.rs:1070method932302.3
EmulationSession::total_steps_valuesrc/session.rs:2102method311502.2
EmulationSession::is_pausedsrc/session.rs:1819method312102.1
EmulationSession::pausesrc/session.rs:1790method311512.1
EmulationSession::startsrc/session.rs:681method31812
EmulationSession::invalidate_outputsrc/session.rs:2009method81301.8
EmulationSession::resumesrc/session.rs:1810method62801.7
EmulationSession::save_state_bytessrc/session.rs:986method62601.7
EmulationSession::meta_snapshotsrc/session.rs:1867method82311.4
EmulationSession::start_with_assembly_and_storagesrc/session.rs:749method1414291.4
effective_trace_options_for_configsrc/session.rs:2434fn31301.3
EmulationSession::write_memorysrc/session.rs:1203method1031511.3
EmulationSession::has_durable_cartridge_storagesrc/session.rs:912method71711.3
EmulationSession::run_loopsrc/session.rs:1622method144114131.2
EmulationSession::last_sub_instruction_tracesrc/session.rs:1835method31401.2
structural_arch_for_device_idsrc/session.rs:2385fn171101.2
checkpoint_survivor_limitsrc/session.rs:2252fn31101.2
next_session_generationsrc/session.rs:40fn61301.1
shared_checkpoint_observationsrc/session.rs:2262fn154121.1
EmulationSession::step_instructionssrc/session.rs:1938method3851031.1
is_structural_modesrc/session.rs:608fn32201.1
EmulationSession::cartridge_storage_statussrc/session.rs:947method2531611
EmulationSession::record_hot_swap_undosrc/session.rs:1366method203111
remove_hot_swap_undo_entrysrc/session.rs:2122fn61101
EmulationSession::save_cartridge_storagesrc/session.rs:922method2431121
EmulationSession::rom_image_lensrc/session.rs:1178method31201
checkpoint_probe_kindsrc/session.rs:2286fn155141
progress_checkpoint_observationsrc/session.rs:2302fn62101
checkpoint_solve_inputssrc/session.rs:2172fn151101
checkpoint_strategy_aliassrc/session.rs:2193fn51101
EmulationSession::apply_solver_plan_inputssrc/session.rs:1532method394351
validate_manual_frame_outcomesrc/session.rs:80fn3213300.9
RuntimeBackendAssembly::structuralsrc/session.rs:593method112210.9
EmulationSession::change_romsrc/session.rs:1123method4442110.9
build_loaded_backendsrc/session.rs:2425fn81200.9
EmulationSession::step_framesrc/session.rs:1494method334860.9
resolve_structural_archsrc/session.rs:2371fn134110.9
locate_cre8vm_base_dirsrc/session.rs:2403fn171100.9
PreparedEmulationSession::hydrate_cartridge_storagesrc/session.rs:548method3061040.8
RuntimeBackendAssembly::from_loadedsrc/session.rs:581method111110.8
build_structural_backendsrc/session.rs:2325fn251120.8
native_session_idsrc/session.rs:47fn41200.8
validate_memory_readsrc/session.rs:54fn73200.8
fixed_checkpoint_strategysrc/session.rs:2231fn84100.8
variable_checkpoint_strategysrc/session.rs:2240fn113110.8
EmulationSession::rom_patch_refusalsrc/session.rs:1083method205520.8
EmulationSession::hot_swap_functionsrc/session.rs:1219method193140.8
EmulationSession::cycle_receiptsrc/session.rs:2084method153130.8
EmulationSession::publish_outcomesrc/session.rs:1596method255210.8
EmulationSession::rom_patch_logsrc/session.rs:1169method31600.8
EmulationSession::checkpoint_v1_capabilitiessrc/session.rs:1008method91300.8
CartridgeAutosaveCadence::is_duesrc/session.rs:284method82100.8
with_test_cartridge_autosave_elapsedsrc/session.rs:269fn51110.8
hot_swap_rollbacksrc/session.rs:2129fn93110.8
EmulationSession::meta_readback_jsonsrc/session.rs:1880method82510.7
EmulationSession::current_originsrc/session.rs:1897method284220.7
EmulationSession::rom_image_bytessrc/session.rs:1174method31200.7
shared_checkpoint_strategysrc/session.rs:2227fn31120.7
shared_checkpoint_observationssrc/session.rs:2256fn51110.7
checkpoint_kind_is_deathsrc/session.rs:2309fn32100.7
checkpoint_kind_is_hazardsrc/session.rs:2313fn32100.7
checkpoint_kind_is_progresssrc/session.rs:2317fn31100.7
checkpoint_kind_is_healthsrc/session.rs:2321fn33100.7
EmulationSession::stop_and_sealsrc/session.rs:2074method41520.7
EmulationSession::meta_runtimesrc/session.rs:1858method82210.7
parse_manual_controllerssrc/session.rs:62fn173200.7
EmulationSession::hot_swap_function_lockedsrc/session.rs:1239method263150.7
EmulationSession::hot_swap_backend_lock_reportsrc/session.rs:1266method301110.7
EmulationSession::stats_resetsrc/session.rs:1985method51210.7
EmulationSession::solve_from_checkpointsrc/session.rs:1575method201190.6
EmulationSession::undo_rom_patchsrc/session.rs:1118method41230.6
EmulationSession::verify_rom_patch_logsrc/session.rs:1184method112210.6
CartridgeAutosaveCadence::newsrc/session.rs:280method31300.6
poll_cartridge_autosavesrc/session.rs:367fn82320.6
EmulationSession::hot_swap_rejected_reportsrc/session.rs:1297method311110.6
EmulationSession::hot_swap_applied_reportsrc/session.rs:1329method361110.6
EmulationSession::hot_swap_failed_reportsrc/session.rs:1387method351120.6
resolved_backend_namesrc/session.rs:2113fn42100.6
hot_swap_checkpointsrc/session.rs:2118fn32110.6
EmulationSession::undo_hot_swapsrc/session.rs:1423method193150.6
EmulationSession::vram_heatmap_resetsrc/session.rs:1997method51110.6
EmulationSession::take_hot_swap_undo_entrysrc/session.rs:1443method201110.6
EmulationSession::restore_hot_swap_undo_entrysrc/session.rs:1464method273130.6
EmulationSession::start_with_assemblysrc/session.rs:740method81110.6
build_structural_graph_backendsrc/session.rs:2351fn191100.6
EmulationSession::supports_live_hot_swapsrc/session.rs:1056method31100.6
wait_while_pausedsrc/session.rs:612fn82100.6
record_run_loop_inputsrc/session.rs:626fn92110.6
publish_run_loop_framesrc/session.rs:636fn263100.6
publish_optional_stream_framesrc/session.rs:663fn52100.6
run_loop_reached_max_framessrc/session.rs:669fn32100.6
sleep_until_next_framesrc/session.rs:673fn62110.6
EmulationSession::last_sub_instruction_trace_summarysrc/session.rs:1839method31110.6
validate_checkpoint_solve_configsrc/session.rs:2139fn93100.6
full_state_checkpointsrc/session.rs:2149fn103110.6
checkpoint_solve_reportsrc/session.rs:2160fn111110.6
normalize_checkpoint_strategysrc/session.rs:2188fn41110.6
build_shared_checkpoint_solver_configsrc/session.rs:2207fn191120.6
EmulationSession::patch_romsrc/session.rs:1109method72120.6
EmulationSession::stats_snapshotsrc/session.rs:1979method51110.6
EmulationSession::start_structural_graphsrc/session.rs:727method121150.5
ManualFrameReport::to_jsonsrc/session.rs:125method111000.5
TestCartridgeAutosaveElapsedGuard::dropsrc/session.rs:261trait impl31010.5
PreparedEmulationSession::startsrc/session.rs:536method91010.5
EmulationSession::prepare_shutdownsrc/session.rs:893method61020.5
EmulationSession::is_shutting_downsrc/session.rs:900method31000.5
EmulationSession::session_idsrc/session.rs:976method31000.5
EmulationSession::trace_optionssrc/session.rs:1843method31000.5
EmulationSession::meta_descriptorsrc/session.rs:1876method31020.5
EmulationSession::vram_heatmapsrc/session.rs:1991method51010.5
EmulationSession::set_inputsrc/session.rs:2018method103000.5
EmulationSession::is_runningsrc/session.rs:2029method31000.5
EmulationSession::widthsrc/session.rs:2033method31000.5
EmulationSession::heightsrc/session.rs:2037method31000.5
EmulationSession::dropsrc/session.rs:2108trait impl31010.5
emulation_config_effective_trace_options_preserve_defaults_and_explicit_readbacksrc/session.rs:2443fn211010.5

Source not readable from this process.