cpuNo 1996 src/dps8/dps8_cpu.c for (uint cpuNo = 0; cpuNo < N_CPU_UNITS_MAX; cpuNo ++) { cpuNo 1997 src/dps8/dps8_cpu.c cpuStats (cpuNo); cpuNo 4836 src/dps8/dps8_cpu.c void setupPROM (uint cpuNo, unsigned char * PROM) { cpuNo 4896 src/dps8/dps8_cpu.c putbits36_1 (& rsw2, 20, cpus[cpuNo].options.cache_installed ? 1 : 0); cpuNo 4906 src/dps8/dps8_cpu.c putbits36_4 (& rsw2, 29, cpus[cpuNo].options.proc_speed & 017LL); cpuNo 4908 src/dps8/dps8_cpu.c putbits36_3 (& rsw2, 33, cpus[cpuNo].switches.cpu_num & 07LL); cpuNo 4911 src/dps8/dps8_cpu.c if (cpus[cpuNo].options.hex_mode_installed) cpuNo 4913 src/dps8/dps8_cpu.c if (cpus[cpuNo].options.clock_slave_installed) cpuNo 4918 src/dps8/dps8_cpu.c (void)sprintf (serial, "%-11u", cpus[cpuNo].switches.serno); cpuNo 5223 src/dps8/dps8_cpu.c void cpuStats (uint cpuNo) { cpuNo 5224 src/dps8/dps8_cpu.c if (! cpus[cpuNo].cycleCnt) cpuNo 5260 src/dps8/dps8_cpu.c if (pthread_getcpuclockid (cpus[cpuNo].thread_id, &clock_id) == 0) { cpuNo 5268 src/dps8/dps8_cpu.c if (cpu_seconds > 0 && cpus[cpuNo].instrCnt > 0) { cpuNo 5286 src/dps8/dps8_cpu.c sim_msg ("\r| CPU %c Statistics |\r\n", 'A' + cpuNo); cpuNo 5288 src/dps8/dps8_cpu.c if (cpu_seconds > 0 && cpus[cpuNo].instrCnt > 0) { cpuNo 5296 src/dps8/dps8_cpu.c if (!pthread_getrusage_np(cpus[cpuNo].thread_id, &rusage, PTHRDSINFO_RUSAGE_COLLECT)) { cpuNo 5303 src/dps8/dps8_cpu.c sim_msg ("\r| cycles %15llu |\r\n", (unsigned long long)cpus[cpuNo].cycleCnt); cpuNo 5304 src/dps8/dps8_cpu.c sim_msg ("\r| instructions %15llu |\r\n", (unsigned long long)cpus[cpuNo].instrCnt); cpuNo 5308 src/dps8/dps8_cpu.c sim_msg ("\r| lockCnt %15llu |\r\n", (unsigned long long)cpus[cpuNo].coreLockState.lockCnt); cpuNo 5309 src/dps8/dps8_cpu.c sim_msg ("\r| lockImmediate %15llu |\r\n", (unsigned long long)cpus[cpuNo].coreLockState.lockImmediate); cpuNo 5313 src/dps8/dps8_cpu.c sim_msg ("\r| lockWait %15llu |\r\n", (unsigned long long)cpus[cpuNo].coreLockState.lockWait); cpuNo 5314 src/dps8/dps8_cpu.c sim_msg ("\r| lockWaitMax %15llu |\r\n", (unsigned long long)cpus[cpuNo].coreLockState.lockWaitMax); cpuNo 5318 src/dps8/dps8_cpu.c sim_msg ("\r| lockYield %15llu |\r\n", (unsigned long long)cpus[cpuNo].coreLockState.lockYield); cpuNo 5337 src/dps8/dps8_cpu.c sim_msg ("\r| cycles %'15llu |\r\n", (unsigned long long)cpus[cpuNo].cycleCnt); cpuNo 5338 src/dps8/dps8_cpu.c sim_msg ("\r| instructions %'15llu |\r\n", (unsigned long long)cpus[cpuNo].instrCnt); cpuNo 5342 src/dps8/dps8_cpu.c sim_msg ("\r| lockCnt %'15llu |\r\n", (unsigned long long)cpus[cpuNo].coreLockState.lockCnt); cpuNo 5343 src/dps8/dps8_cpu.c sim_msg ("\r| lockImmediate %'15llu |\r\n", (unsigned long long)cpus[cpuNo].coreLockState.lockImmediate); cpuNo 5347 src/dps8/dps8_cpu.c sim_msg ("\r| lockWait %'15llu |\r\n", (unsigned long long)cpus[cpuNo].coreLockState.lockWait); cpuNo 5348 src/dps8/dps8_cpu.c sim_msg ("\r| lockWaitMax %'15llu |\r\n", (unsigned long long)cpus[cpuNo].coreLockState.lockWaitMax); cpuNo 5352 src/dps8/dps8_cpu.c sim_msg ("\r| lockYield %'15llu |\r\n", (unsigned long long)cpus[cpuNo].coreLockState.lockYield); cpuNo 5373 src/dps8/dps8_cpu.c ucacheStats (cpuNo); cpuNo 5378 src/dps8/dps8_cpu.c cpuNo 5379 src/dps8/dps8_cpu.c cpuNo 2424 src/dps8/dps8_cpu.h void setupPROM (uint cpuNo, unsigned char * PROM); cpuNo 2425 src/dps8/dps8_cpu.h void cpuStats (uint cpuNo); cpuNo 898 src/dps8/dps8_faults.c void setG7fault (uint cpuNo, _fault faultNo) cpuNo 900 src/dps8/dps8_faults.c cpu_state_t * cpup = &cpus[cpuNo]; cpuNo 902 src/dps8/dps8_faults.c cpuNo, faultNo, faultNo); cpuNo 910 src/dps8/dps8_faults.c if (cpuNo != current_running_cpu_idx) cpuNo 911 src/dps8/dps8_faults.c wakeCPU(cpuNo); cpuNo 129 src/dps8/dps8_faults.h void setG7fault (uint cpuNo, _fault faultNo); cpuNo 112 src/dps8/dps8_rt.c for (uint32_t cpuNo = 0; cpuNo < N_CPU_UNITS_MAX; cpuNo++) { cpuNo 113 src/dps8/dps8_rt.c if (cpus[cpuNo].cycleCnt) { cpuNo 114 src/dps8/dps8_rt.c (void)sir_notice("Resetting CPU %c thread parameters", cpuNo + 'A'); cpuNo 115 src/dps8/dps8_rt.c ret = restore_thread_sched(cpus[cpuNo].thread_id); cpuNo 118 src/dps8/dps8_rt.c ret, cpuNo + 'A', xstrerror_l(ret)); cpuNo 126 src/dps8/ucache.c void ucacheStats (int cpuNo) { cpuNo 129 src/dps8/ucache.c sim_msg ("\r\n| CPU %c Micro-cache Statistics |", 'A' + cpuNo); cpuNo 133 src/dps8/ucache.c # define stats(n) args ( (long long unsigned)cpus[cpuNo].uCache.hits [n], \ cpuNo 134 src/dps8/ucache.c (long long unsigned)cpus[cpuNo].uCache.misses[n], \ cpuNo 135 src/dps8/ucache.c (long long unsigned)cpus[cpuNo].uCache.skips [n] ) cpuNo 164 src/dps8/ucache.c (long long unsigned)cpus[cpuNo].uCache.ralrSkips); cpuNo 166 src/dps8/ucache.c (long long unsigned)cpus[cpuNo].uCache.call6Skips); cpuNo 168 src/dps8/ucache.c (long long unsigned)cpus[cpuNo].uCache.segnoSkips); cpuNo 197 src/dps8/ucache.c (long long unsigned)cpus[cpuNo].uCache.ralrSkips); cpuNo 199 src/dps8/ucache.c (long long unsigned)cpus[cpuNo].uCache.call6Skips); cpuNo 201 src/dps8/ucache.c (long long unsigned)cpus[cpuNo].uCache.segnoSkips); cpuNo 70 src/dps8/ucache.h void ucacheStats (int cpuNo);