This commit is contained in:
luboslenco
2025-07-21 18:36:17 +02:00
parent 1b8eccf414
commit d1e47cf375
7 changed files with 12 additions and 15 deletions
+2 -2
View File
@@ -1058,10 +1058,10 @@ double iron_frequency() {
return 1000000.0;
}
iron_ticks_t iron_timestamp() {
uint64_t iron_timestamp() {
struct timeval now;
gettimeofday(&now, NULL);
return (iron_ticks_t)(now.tv_sec - start_sec) * 1000000 + (iron_ticks_t)(now.tv_usec);
return (uint64_t)(now.tv_sec - start_sec) * 1000000 + (uint64_t)(now.tv_usec);
}
double iron_time() {