local: add assertion for precision
This commit is contained in:
parent
061579ec28
commit
48b16ae66c
1 changed files with 2 additions and 0 deletions
2
local.c
2
local.c
|
@ -144,6 +144,8 @@ calculate_sys_precision(void)
|
||||||
best *= 2;
|
best *= 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
assert(precision_log >= -30);
|
||||||
|
|
||||||
DEBUG_LOG(LOGF_Local, "Clock precision %.9f (%d)", precision_quantum, precision_log);
|
DEBUG_LOG(LOGF_Local, "Clock precision %.9f (%d)", precision_quantum, precision_log);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue