void nnprofRuntimeControlSetThreadIDToProfile | ( | u32 | threadId | ) |
Sets the thread ID that should be profiled.
This defaults to the value NN_PROF_SETTINGS_ACTIVE_THREAD_ID, this is equivalent to selecting Active from the profiler GUI settings. If an invalid thread is selected, then the profiler will default back to profiling the Active thread.
A value passed into this function should be the one obtained from nn::os::Thread::GetCurrentId() or nn::os::Thread::GetId().
threadId | The ID of the thread to sample. |