Home
last modified time | relevance | path

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

/xnu-12377.61.12/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-12377.61.12/osfmk/kern/
H A Dkern_stackshot.c6272 struct thread_group_snapshot_v3 *tgs = &thread_groups[i]; in stackshot_thread_group_snapshot() local
6275 tgs->tgs_id = thread_group_get_id(tg); in stackshot_thread_group_snapshot()
6276 static_assert(THREAD_GROUP_MAXNAME > sizeof(tgs->tgs_name)); in stackshot_thread_group_snapshot()
6277 kdp_memcpy(tgs->tgs_name, name, sizeof(tgs->tgs_name)); in stackshot_thread_group_snapshot()
6278 kdp_memcpy(tgs->tgs_name_cont, name + sizeof(tgs->tgs_name), in stackshot_thread_group_snapshot()
6279 sizeof(tgs->tgs_name_cont)); in stackshot_thread_group_snapshot()
6280 tgs->tgs_flags = in stackshot_thread_group_snapshot()
/xnu-12377.61.12/tests/
H A Dstackshot_tests.m2789 struct thread_group_snapshot_v3 *tgs = tgs_array + j;
2790 [thread_groups addObject:@(tgs->tgs_id)];
2796 struct thread_group_snapshot *tgs = tgs_array + j;
2797 [thread_groups addObject:@(tgs->tgs_id)];