include interrupt handling time into system time
Change-Id: If2ed2d488b4040d288d712f0a244505adbcec6f5 Refs: #1221
This commit is contained in:
committed by
Masamichi Takagi
parent
ba80dd8650
commit
f115bae8a7
@ -9526,12 +9526,7 @@ set_cputime(enum set_cputime_mode mode)
|
||||
}
|
||||
}
|
||||
|
||||
if (mode == CPUTIME_MODE_K2K_IN) {
|
||||
thread->base_tsc = 0;
|
||||
}
|
||||
else{
|
||||
thread->base_tsc = tsc;
|
||||
}
|
||||
thread->base_tsc = tsc;
|
||||
|
||||
thread->times_update = 1;
|
||||
thread->in_kernel = (int)mode;
|
||||
|
||||
Reference in New Issue
Block a user