mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 17:01:03 +00:00
- I_msTimeF.
This commit is contained in:
parent
9687facc88
commit
7bc8d2baff
2 changed files with 8 additions and 0 deletions
|
@ -142,6 +142,11 @@ uint64_t I_msTime()
|
|||
return NSToMS(I_nsTime());
|
||||
}
|
||||
|
||||
double I_msTimeF(void)
|
||||
{
|
||||
return I_nsTime() / 1'000'000.;
|
||||
}
|
||||
|
||||
uint64_t I_msTimeFS() // from "start"
|
||||
{
|
||||
return (FirstFrameStartTime == 0) ? 0 : NSToMS(I_nsTime() - FirstFrameStartTime);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue