Home
last modified time | relevance | path

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

/xnu-11417.121.6/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.121.6/osfmk/kern/
H A Dkern_stackshot.c6056 struct thread_group_snapshot_v3 *tgs = &thread_groups[i]; in stackshot_thread_group_snapshot() local
6059 tgs->tgs_id = thread_group_get_id(tg); in stackshot_thread_group_snapshot()
6060 static_assert(THREAD_GROUP_MAXNAME > sizeof(tgs->tgs_name)); in stackshot_thread_group_snapshot()
6061 kdp_memcpy(tgs->tgs_name, name, sizeof(tgs->tgs_name)); in stackshot_thread_group_snapshot()
6062 kdp_memcpy(tgs->tgs_name_cont, name + sizeof(tgs->tgs_name), in stackshot_thread_group_snapshot()
6063 sizeof(tgs->tgs_name_cont)); in stackshot_thread_group_snapshot()
6064 tgs->tgs_flags = in stackshot_thread_group_snapshot()
/xnu-11417.121.6/tests/
H A Dstackshot_tests.m2743 struct thread_group_snapshot_v3 *tgs = tgs_array + j;
2744 [thread_groups addObject:@(tgs->tgs_id)];
2750 struct thread_group_snapshot *tgs = tgs_array + j;
2751 [thread_groups addObject:@(tgs->tgs_id)];