MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / show_exec_tasks

Function show_exec_tasks

src/debug.cpp:5760–5782  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5758}
5759
5760static void show_exec_tasks (void)
5761{
5762 uaecptr execbase = get_long_debug (4);
5763 uaecptr taskready = execbase + 406;
5764 uaecptr taskwait = execbase + 420;
5765 uaecptr node;
5766 console_out_f (_T("Execbase at 0x%08X\n"), execbase);
5767 console_out (_T("Current:\n"));
5768 node = get_long_debug (execbase + 276);
5769 print_task_info (node, false);
5770 console_out_f (_T("Ready:\n"));
5771 node = get_long_debug (taskready);
5772 while (node && get_long_debug(node)) {
5773 print_task_info (node, true);
5774 node = get_long_debug (node);
5775 }
5776 console_out (_T("Waiting:\n"));
5777 node = get_long_debug (taskwait);
5778 while (node && get_long_debug(node)) {
5779 print_task_info (node, true);
5780 node = get_long_debug (node);
5781 }
5782}
5783
5784static uaecptr get_base (const uae_char *name, int offset)
5785{

Callers 1

debug_lineFunction · 0.85

Calls 4

print_task_infoFunction · 0.85
get_long_debugFunction · 0.70
console_out_fFunction · 0.50
console_outFunction · 0.50

Tested by

no test coverage detected