@@ -9253,6 +9253,7 @@ set_cputime(int mode)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cpu_disable_interrupt();
|
||||||
tsc = rdtsc();
|
tsc = rdtsc();
|
||||||
if(thread->base_tsc != 0){
|
if(thread->base_tsc != 0){
|
||||||
unsigned long dtsc = tsc - thread->base_tsc;
|
unsigned long dtsc = tsc - thread->base_tsc;
|
||||||
@@ -9333,6 +9334,7 @@ set_cputime(int mode)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
cpu_enable_interrupt();
|
||||||
}
|
}
|
||||||
|
|
||||||
long syscall(int num, ihk_mc_user_context_t *ctx)
|
long syscall(int num, ihk_mc_user_context_t *ctx)
|
||||||
|
|||||||
Reference in New Issue
Block a user