Searched refs:thread_count (Results 1 - 25 of 36) sorted by relevance

12

/macosx-10.10/ruby-106/ruby/test/rake/
H A Dtest_thread_history_display.rb63 @stats << event(:thread_deleted, :deleted_thread => 123456, :thread_count => 12)
67 assert_match(/^ *1000000 +A +thread_deleted( +deleted_thread:B| +thread_count:12){2}$/, out)
71 @stats << event(:thread_created, :new_thread => 123456, :thread_count => 13)
75 assert_match(/^ *1000000 +A +thread_created( +new_thread:B| +thread_count:13){2}$/, out)
/macosx-10.10/ruby-106/ruby/lib/rake/
H A Dthread_pool.rb12 def initialize(thread_count)
13 @max_active_threads = [thread_count, 0].max
122 stat :ended, :thread_count => @threads.count
128 stat :spawned, :new_thread => t.object_id, :thread_count => @threads.count
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dmach_loader.h59 int thread_count; member in struct:_load_result
H A Dkern_core.c216 int thread_count, segment_count; local
314 thread_count = get_task_numacts(task);
323 thread_count*sizeof(struct thread_command) +
324 tstate_size*thread_count;
342 mh64->ncmds = segment_count + thread_count;
351 mh->ncmds = segment_count + thread_count;
H A Dmach_loader.c106 .thread_count = 0,
851 if (result->thread_count == 0) {
1167 if (result->thread_count != 0) {
1204 result->thread_count++;
1225 if (result->thread_count != 0) {
1276 result->thread_count++;
H A Dkern_mib.c504 packages = roundup(ml_cpu_cache_sharing(0), cpuid_info()->thread_count)
505 / cpuid_info()->thread_count;
/macosx-10.10/adv_cmds-158/ps/
H A Dtasks.c189 error = task_threads(ki->task, &ki->thread_list, &ki->thread_count);
201 ki->thval = malloc(ki->thread_count * sizeof(struct thread_values));
202 for (j = 0; j < ki->thread_count; j++) {
236 sizeof(*ki->thread_list) * ki->thread_count);
H A Dps.h89 unsigned int thread_count; member in struct:kinfo
H A Dps.c733 for(j=0; j < kinfo[i].thread_count; j++) {
765 if (kinfo[i].invalid_tinfo == 0 && kinfo[i].thread_count)
/macosx-10.10/xnu-2782.1.97/osfmk/mach/
H A Dprocessor_info.h142 int thread_count; /* How many threads */ member in struct:processor_set_load_info
/macosx-10.10/system_cmds-643.1.1/iosim.tproj/
H A Diosim.c41 int thread_count = 1; /* Unit: Number ; Desc.: Thread Count */ variable
393 thread_count = atoi(optarg);
394 validate_option(thread_count, 0, MAX_THREADS, "Thread Count", "Threads");
447 print_test_setup(thread_count, "Thread Count", "Threads", 0);
461 for (i=0; i < thread_count; i++) {
479 for(i=0; i < thread_count; i++) {
502 for(i=0; i < thread_count; i++)
/macosx-10.10/apr-32/apr/apr/threadproc/netware/
H A Dthread.c22 static int thread_count = 0; variable
88 sprintf(threadName, "APR_thread %04ld", ++thread_count);
/macosx-10.10/llvmCore-3425.0.34/utils/unittest/googletest/
H A Dgtest-port.cc86 mach_msg_type_number_t thread_count; local
88 const kern_return_t status = task_threads(task, &thread_list, &thread_count);
94 sizeof(thread_t) * thread_count);
95 return static_cast<size_t>(thread_count);
H A Dgtest-death-test.cc178 // caller not to pass a thread_count of 1.
179 static String DeathTestThreadWarning(size_t thread_count) { argument
183 if (thread_count == 0)
186 msg << "detected " << thread_count << " threads."; local
786 const size_t thread_count = GetThreadCount(); local
787 if (thread_count != 1) {
788 GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count);
/macosx-10.10/system_cmds-643.1.1/hostinfo.tproj/
H A Dhostinfo.c140 load_info.task_count, load_info.thread_count, basic_info.processor_count);
/macosx-10.10/xnu-2782.1.97/bsd/nfs/
H A Dnfs_upcall.c239 int32_t thread_count = nfsrv_uc_thread_count; local
245 for (i = 0; i < thread_count; i++) {
/macosx-10.10/xnu-2782.1.97/osfmk/i386/
H A Dcpu_threads.c79 return(cpuinfo->thread_count > cpuinfo->core_count);
151 topoParms.nCoresSharingLLC = nCPUsSharing / (cpuinfo->thread_count /
161 if (nCPUsSharing > cpuinfo->thread_count)
162 topoParms.nLCPUsSharingLLC = cpuinfo->thread_count;
185 topoParms.nLThreadsPerCore = cpuinfo->thread_count / cpuinfo->core_count;
H A Dcpuid.c820 info_p->thread_count = bitfield32((uint32_t)msr, 15, 0);
829 info_p->thread_count = bitfield32((uint32_t)msr, 15, 0);
835 info_p->thread_count = info_p->cpuid_logical_per_package;
839 DBG(" thread_count : %d\n", info_p->thread_count);
H A Dcpuid.h366 uint32_t thread_count; member in struct:__anon15262
/macosx-10.10/xnu-2782.1.97/osfmk/kern/
H A Dthread_call.c173 uint32_t thread_count; local
188 thread_count = group->active_count;
198 if ((thread_count == 0) ||
199 (thread_count < group->target_thread_count) ||
200 ((group->pending_count > THREAD_CALL_ADD_RATIO * thread_count) &&
H A Dbsd_kern.c282 return(t->thread_count);
710 ptinfo->pti_threadnum = task->thread_count;
798 return(task->thread_count);
H A Dthread.c610 task->thread_count--;
616 if (task->thread_count == 1 && task->halting)
825 (parent_task->thread_count >= task_threadmax &&
933 parent_task->thread_count++;
2449 if (task->thread_count == 1) {
/macosx-10.10/system_cmds-643.1.1/trace.tproj/
H A Dtrace.c281 int thread_count; member in struct:__anon12705
742 raw_header.thread_count = total_threads;
846 raw_header.thread_count = total_threads;
1004 if (read(fd, &raw_header.thread_count, sizeof(int)) != sizeof(int)) {
1009 count_of_names = raw_header.thread_count;
/macosx-10.10/xnu-2782.1.97/tools/lldbmacros/
H A Dprocess.py203 thread_count = int(task.thread_count)
217 out_string += format_string.format(task, task.map, task.itk_space, thread_count, task_flags)
/macosx-10.10/xnu-2782.1.97/osfmk/chud/
H A Dchud_thread.c360 actual = task->thread_count;

Completed in 314 milliseconds

12