Home
last modified time | relevance | path

Searched refs:tgs (Results 1 – 3 of 3) sorted by relevance

/xnu-11417.101.15/tests/sched/
H A Dclutch_runqueue.c141 struct thread_group *tgs[num_tgs]; variable
143 tgs[i] = create_tg(i);
149 …threads[i] = create_thread(bucket, tgs[clutch_interactivity_score_max - i], root_bucket_to_highest…
/xnu-11417.101.15/osfmk/kern/
H A Dkern_stackshot.c5999 struct thread_group_snapshot_v3 *tgs = &thread_groups[i]; in stackshot_thread_group_snapshot() local
6002 tgs->tgs_id = thread_group_get_id(tg); in stackshot_thread_group_snapshot()
6003 static_assert(THREAD_GROUP_MAXNAME > sizeof(tgs->tgs_name)); in stackshot_thread_group_snapshot()
6004 kdp_memcpy(tgs->tgs_name, name, sizeof(tgs->tgs_name)); in stackshot_thread_group_snapshot()
6005 kdp_memcpy(tgs->tgs_name_cont, name + sizeof(tgs->tgs_name), in stackshot_thread_group_snapshot()
6006 sizeof(tgs->tgs_name_cont)); in stackshot_thread_group_snapshot()
6007 tgs->tgs_flags = in stackshot_thread_group_snapshot()
/xnu-11417.101.15/tests/
H A Dstackshot_tests.m2687 struct thread_group_snapshot_v3 *tgs = tgs_array + j;
2688 [thread_groups addObject:@(tgs->tgs_id)];
2694 struct thread_group_snapshot *tgs = tgs_array + j;
2695 [thread_groups addObject:@(tgs->tgs_id)];