mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-13 22:54:24 -04:00
kern: delete creation time field from KProcess
This commit is contained in:
parent
25383db524
commit
aad2be0a01
3 changed files with 11 additions and 1 deletions
|
@ -198,7 +198,6 @@ namespace ams::kern {
|
|||
/* Set misc fields. */
|
||||
m_state = State_Created;
|
||||
m_main_thread_stack_size = 0;
|
||||
m_creation_time = KHardwareTimer::GetTick();
|
||||
m_used_kernel_memory_size = 0;
|
||||
m_ideal_core_id = 0;
|
||||
m_flags = params.flags;
|
||||
|
@ -209,6 +208,10 @@ namespace ams::kern {
|
|||
m_is_application = (params.flags & ams::svc::CreateProcessFlag_IsApplication);
|
||||
m_is_jit_debug = false;
|
||||
|
||||
#if defined(MESOSPHERE_ENABLE_PROCESS_CREATION_TIME)
|
||||
m_creation_time = KHardwareTimer::GetTick();
|
||||
#endif
|
||||
|
||||
/* Set thread fields. */
|
||||
for (size_t i = 0; i < cpu::NumCores; i++) {
|
||||
m_running_threads[i] = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue