UpdatableTimeProvider( qUnsignedInt32 sleepTime = DEFAULT_SLEEP_TIME, qUnsignedInt32 threadPriority = NN_NEX_PRIORITY_NORMAL, qInt32 cpuCoreNo = ObjectThreadRoot::DEFAULT_CORE_NO, qUnsignedInt32 threadStackSize = DEFAULT_THREAD_STACK_SIZE );
Name | Description | |
---|---|---|
in | sleepTime | Milliseconds for update thread to sleep. |
in | threadPriority | The priority of the update thread. |
in | cpuCoreNo | Specifies the CPU CoreNo . If ObjectThreadRoot::DEFAULT_CORE_NO , then operates on the NEX default value. For a CTR using SDK 3.0 or a later version, you can select the system core by specifying 1 . If you are using the system core, you need to allocate CPU time with nn::os::CTR::SetApplicationCpuTimeLimit . |
in | threadStackSize | The stack size for the update thread (only enabled for the CTR; specify in units of 4096 bytes) ObjectThreadRoot::UseAutoStack(false) is required. |
Constructor.
Starts the internal cache update thread.
CONFIDENTIAL