Home
last modified time | relevance | path

Searched refs:smp_max_threads (Results 1 – 15 of 15) sorted by relevance

/dports/games/crafty/crafty-25.2_1/
H A Dbench.c16 int old_do, old_st, old_sd, total_time_used, pos, old_mt = smp_max_threads; in Bench()
170 if (smp_max_threads == 0) { in Bench()
171 smp_max_threads = 2; in Bench()
172 Print(4095, "Running SMP benchmark (%d threads)...\n", smp_max_threads); in Bench()
215 smp_max_threads = Max(0, old_mt); in Bench()
H A Diterate.c89 for (i = 0; i < smp_max_threads; i++) { in Iterate()
227 if (smp_max_threads > smp_threads + 1) { in Iterate()
232 for (proc = smp_threads + 1; proc < smp_max_threads; proc++) { in Iterate()
307 nodes_per_second / (10 * Max(smp_max_threads, 1)); in Iterate()
341 if (smp_max_threads > 1) in Iterate()
599 for (i = 0; i < smp_max_threads; i++) in Iterate()
603 100 * idle_time / (smp_max_threads * (end_time - start_time) + in Iterate()
655 for (i = 0; i < smp_max_threads; i++) { in Iterate()
H A Dinit.c822 for (node = 0; node < smp_max_threads; node++) { in InitializeHashTables()
827 if (mem_per_node * Max(smp_max_threads, in InitializeHashTables()
829 memset((char *) hash_table + smp_max_threads * mem_per_node, 0, in InitializeHashTables()
831 mem_per_node * smp_max_threads); in InitializeHashTables()
843 for (node = 0; node < smp_max_threads; node++) { in InitializeHashTables()
848 if (mem_per_node * Max(smp_max_threads, in InitializeHashTables()
850 memset((char *) hash_path + smp_max_threads * mem_per_node, 0, in InitializeHashTables()
852 mem_per_node * smp_max_threads); in InitializeHashTables()
865 for (node = 0; node < smp_max_threads; node++) { in InitializeHashTables()
870 if (mem_per_node * Max(smp_max_threads, in InitializeHashTables()
[all …]
H A Dthread.c201 for (tid = 0; tid < smp_max_threads; tid++) in Split()
301 for (current = 0; current <= smp_max_threads * 64; current++) { in Join()
564 for (proc = 0; proc < smp_max_threads; proc++) in ThreadStop()
608 for (proc = 0; proc < smp_max_threads; proc++) in ThreadTrace()
615 for (proc = 0; proc < smp_max_threads; proc++) in ThreadTrace()
629 for (proc = 0; proc < smp_max_threads; proc++) in ThreadTrace()
947 for (i = 0; i < smp_max_threads; i++) in GetBlock()
972 while (initialized_threads < smp_max_threads); /* Do nothing */ in WaitForAllThreadsInitialized()
H A Dautotune.c59 if (smp_max_threads < 2) { in AutoTune()
140 if (v == 0 && tune[v].min > smp_max_threads) { in AutoTune()
143 setting[0] = smp_max_threads; in AutoTune()
H A Doption.c1827 version, Max(1, smp_max_threads)); in Option()
3411 smp_max_threads = atoi(args[1]); in Option()
3416 smp_max_threads = hardware_processors; in Option()
3418 if (smp_max_threads > CPUS) { in Option()
3421 smp_max_threads = CPUS; in Option()
3423 if (smp_max_threads == 1) { in Option()
3426 smp_max_threads = 0; in Option()
3428 if (smp_max_threads) in Option()
3433 if (proc >= smp_max_threads) in Option()
3910 smp_max_threads)); in Option()
[all …]
H A Dmain.c4429 if (smp_max_threads)
4430 Print(32, "\nCrafty v%s (%d threads)\n\n", version, smp_max_threads);
H A Ddata.h172 extern unsigned int smp_max_threads;
H A Dutility.c986 if (nskip > 1 && smp_max_threads > 1) in DisplayPV()
1025 for (i = 0; i < smp_max_threads; i++) in DisplayPV()
1029 100 * idle_time / (smp_max_threads * (end_time - start_time) + 1)); in DisplayPV()
1335 for (i = 0; i <= smp_max_threads * 64; i++) in FindBlockID()
H A Dnext.c469 for (t = 0; t < smp_max_threads; t++) in NextRootMove()
H A Ddata.c579 unsigned int smp_max_threads = 0; variable
H A Dsearch.c660 for (proc = 0; proc < smp_max_threads; proc++) in SearchMoveList()
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/s390/kernel/
H A Dsmp.c98 static unsigned int smp_max_threads __initdata = -1U;
102 smp_max_threads = 1; in early_nosmt()
109 get_option(&s, &smp_max_threads); in early_smt()
852 mtid = (mtid < smp_max_threads) ? mtid : smp_max_threads - 1; in smp_detect_cpus()
991 sclp_max = min(smp_max_threads, sclp_max); in smp_fill_possible_mask()
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/s390/kernel/
H A Dsmp.c98 static unsigned int smp_max_threads __initdata = -1U;
102 smp_max_threads = 1; in early_nosmt()
109 get_option(&s, &smp_max_threads); in early_smt()
852 mtid = (mtid < smp_max_threads) ? mtid : smp_max_threads - 1; in smp_detect_cpus()
991 sclp_max = min(smp_max_threads, sclp_max); in smp_fill_possible_mask()
/dports/multimedia/libv4l/linux-5.13-rc2/arch/s390/kernel/
H A Dsmp.c98 static unsigned int smp_max_threads __initdata = -1U;
102 smp_max_threads = 1; in early_nosmt()
109 get_option(&s, &smp_max_threads); in early_smt()
852 mtid = (mtid < smp_max_threads) ? mtid : smp_max_threads - 1; in smp_detect_cpus()
991 sclp_max = min(smp_max_threads, sclp_max); in smp_fill_possible_mask()