Race Sim Central
Rec.Autos.Simulators Archive

Sims lap times - Have we all been fooled ?

15 posts by 13 people · 15 Oct 1996 - 29 Oct 1996

Something came flashing in my mind while discussing benchmarking issues at a client. All benchmarks have to run on big volumes because of the CPU's (x86) inability in terms of time precision to go higher than 1/16th of a second. So here we are fighting for hundreds, sometimes thousands of a second for a hotlap and all that for a 'fake' time??? Is there something I am missing, some kind of trick used by the developers or is it all random past the 1/16 limit? Anybody could maybe enlight me on this? ********************************************************** * Jean-Francois De Rudder Tel : +27 21 4196005 * * Sybase SA Fax : +27 21 4196009 * **********************************************************
Jouni Karh 15 Oct 1996#340648
Hell, try to run with no details and almost no texturing at all in GP2 'to ensure that the frame rate does not fall too much with traffic' and run a leisurely lap of 1.38 around Monza. Check your watch, which you used to check the time. See it report 1.33. So the time runs faster in GP2 if details are low enough. Put on full details and textures, and the same 1.38 lap takes over three minutes to perform. That is how much of a fake time it is. And how can you trust anyone has driven their hot lap in 'real time' ???? You have _all_ the reaction time you want (not that sure it helps much, but it must be better than the game running faster than RL). So, don't worry about thousandths when you can worry about ***y MINUTES! And of course, there is no possibility of adjusting the details so that the time is closest to real time, because with cars on track, the details and processor load will change . . . *aargh* -- 'I have something to say! | JJ Karhu It's better to burn out, | 'The Imm***Immortal' \o than to fade away!' | -=========================|xxxxxxo
> All benchmarks have to run on big volumes because of the CPU's > (x86) inability in terms of time precision to go higher than 1/16th of a > second. So here we are fighting for hundreds, sometimes thousands of a > second for a hotlap and all that for a 'fake' time??? Is there something I > am missing, some kind of trick used by the developers or is it all random > past the 1/16 limit? The limit you're referring to -- 18.2 units/second -- only applies to the DOS timer interrupt. Time sensitive apps like games would usually ignore this interrupt completely, and instead poll the timer chip directly. The chip itself is capable of a resolution in the milliseconds. I would still expect some time inaccuracy -- the game can't check the timer every millisecond after all, but the error is certainly somewhere in the 0.01 secs range. Unless you're running GP2, and then who know what the hell is going on... Jason --- Check out the NFS World Records Site http://www.twogoons.com/nfs/
David Spark 15 Oct 1996#340650
As you noted, most sims only calculate 10-30 frames per second. How can it be more accurate than that. Well, if you know the position of the car on the frame prior to crossing the start/finish line, and you the know the position of the car on the frame after crossing the line, you can interpolate between the two frames to get a pretty close approximation of when the car actually crossed the line. However, I have noticed that NASCAR and ICR tend to be pretty "chunky" with lap times. I've run two identical lap speeds, down to the thousandths of a MPH back to back, a feat I doubt I could ever reproduce in real life. Dave (davids) Sparks Late Night League http://www.sequoia-dev.com/Hawaii/latenite.html
iksteh 16 Oct 1996#340743
Dave Sparks wrote Wow, I doubt I could drive even ONE lap in real life without spinning, crashing burning and dying. Or at least stalling the damn car on the way out of the pits. <g> Jet
Quoted text (14 lines)> Something came flashing in my mind while discussing benchmarking issues at > a client. All benchmarks have to run on big volumes because of the CPU's > (x86) inability in terms of time precision to go higher than 1/16th of a > second. So here we are fighting for hundreds, sometimes thousands of a > second for a hotlap and all that for a 'fake' time??? Is there something I > am missing, some kind of trick used by the developers or is it all random > past the 1/16 limit? > Anybody could maybe enlight me on this? > ********************************************************** > * Jean-Francois De Rudder Tel : +27 21 4196005 * > * Sybase SA Fax : +27 21 4196009 * > **********************************************************
Hey, Geoff Crammond knows what he's doing, man! No ***ing faking in gp2!
Chuck Stuar 16 Oct 1996#340745
Quoted text (8 lines)> > Something came flashing in my mind while discussing benchmarking issues at > > a client. All benchmarks have to run on big volumes because of the CPU's > > (x86) inability in terms of time precision to go higher than 1/16th of a > > second. So here we are fighting for hundreds, sometimes thousands of a > > second for a hotlap and all that for a 'fake' time??? Is there something I > > am missing, some kind of trick used by the developers or is it all random > > past the 1/16 limit? > > Anybody could maybe enlight me on this?
Lap times are based on travling a specified distance in a specified time. Has nothing to do with the computer's precision. Depends more on knowing the exact distance for a lap at a given track. -- Chuck Stuart - Mesquite TX USA
Quoted text (10 lines)>> > Something came flashing in my mind while discussing benchmarking issues at >> > a client. All benchmarks have to run on big volumes because of the CPU's >> > (x86) inability in terms of time precision to go higher than 1/16th of a >> > second. So here we are fighting for hundreds, sometimes thousands of a >> > second for a hotlap and all that for a 'fake' time??? Is there something I >> > am missing, some kind of trick used by the developers or is it all random >> > past the 1/16 limit? >> > Anybody could maybe enlight me on this? >Lap times are based on travling a specified distance in a specified >time. Has nothing to do with the computer's precision. Depends more on
~~~~ >knowing the exact distance for a lap at a given track. You have just refuted your own argument. The original poster was asking can the computers time as accurately as the game suggests. If they can`t (and I don`t know whether they can or not) then knowing the exact distance isn`t going to help. If S=D/T but T can only be measured to an accuracy of x then S can only be measured to an accuracy lower than x regardless of how accurate the measuring of D is. Mark _________________________________ "..every lap I think `Oh bollocks! This is dreadful..`" Damon Hill __________________________________
David Spark 17 Oct 1996#340867
Quoted text (13 lines)>Dave Sparks wrote >> However, I have noticed that NASCAR and ICR tend to be pretty "chunky" with >> lap times. I've run two identical lap speeds, down to the thousandths of a >> MPH back to back, a feat I doubt I could ever reproduce in real life. >Wow, >I doubt I could drive even ONE lap in real life without spinning, >crashing >burning and dying. Or at least stalling the damn car on the way out of >the pits. <g> >Jet
Well, I might be naive, but I'm pretty confident I could make at least one lap in a WC car without crashing. 'Course I wouldn't be tearing up the track either. With Indycar though, I suspect that just getting out the pits without spinning the car would be a challenge. Dave (davids) Sparks Late Night League http://www.sequoia-dev.com/Hawaii/latenite.html
J 17 Oct 1996#340868
Yep this makes sense - To work out a precise lap time all you need it the precise detail of the track and the line being driven, combined with a knowledge of the speed the car in travelling at any moment in time. I don't think that any precise timeing ability is required. ___________________ / \ | Jimmy Furlong | Aerodynamics are for people | | who cannot build engines | Dublin, Ireland | \___________________/ - Enzo Ferrari
Eric Cote 19 Oct 1996#341042
> >You have just refuted your own argument. > No he hasn't, he just hasn't strengthened it.... My personal view of this situation is, if you do a hotlap and run under (and close to)100% Processor Occupency during that session for the hole lap, the time will be pretty close to be accurate. If the contrary, and view others hotlap, first you'll find even with the correct graphic details on your own PC, that the hotlap will be choppy and with a stopwatch the innaccuracy of session time might be as high as 4-7 sec off real time. As far as the performance editor currently available, the drivers power can't be changed + the best thing to validate a hotlap would be sending the PERDATA and setup and try to match speed at least on a mainstraight and long fast corner, for the rest, a setup from others is good only for reference since driving style (with same steering device) are different. See ya later, Eric
Ma 19 Oct 1996#341043
: > Something came flashing in my mind while discussing benchmarking issues at : > a client. All benchmarks have to run on big volumes because of the CPU's : > (x86) inability in terms of time precision to go higher than 1/16th of a : > second. So here we are fighting for hundreds, sometimes thousands of a : > second for a hotlap and all that for a 'fake' time??? Is there something I : > am missing, some kind of trick used by the developers or is it all random : > past the 1/16 limit? : > Anybody could maybe enlight me on this? the technical explantion for this is that the timer (PIT) is reprogrammed by the game to run at a higher speed. normally it runs at 16.8 or so ticks per second (hence your 1/16th), but it can be programmed to run way too fast. the actual fixed speed of the timer chip is 1,193,181 Hz. the reason this doesnt affect your computer's ability to keep time (ie dos clock time) is that the game only calls the function to update the clock time every so many cycles to keep it at ~16.8. if the game didnt do this, your clock would run in fast forward. early versions of games (ie heretic) didnt put the timer back to normal when dumping to dos, and hence players had accelerated clocks are playing the game.. pretty funny. well this post didnt turn out so clear... so if u dont understand, ask. -carlos
Chuck Stuar 21 Oct 1996#341201
I'm not getting into a math argument because I would be completely unarmed but let me give a different answer to the original question. The TimeGetTime API function returns a long interger containing the number of ms since Windows was started. Using this function, you can easily measure events to a thousand of a second. -- Chuck Stuart - Mesquite TX USA VBTrace 96 is a runtime Procedure Trace, XRef, Debug, Profiler and much more. Shareware $49. http://www.apexsc.com/vb/ftp/coop/cstuart
Juergen Ath 29 Oct 1996#341923
> Lap times are based on travling a specified distance in a specified > time. Has nothing to do with the computer's precision. Depends more on > knowing the exact distance for a lap at a given track. Yes, but the measured time would nevertheless not be any more exact if GP didn't use another approach to measuring time than the old DOS method. You measure the time, not the average speed. Juergen. \ / \\ // \\\ U /// ==ELITE== Juergen Athen http://iraul1.ira.uka.de/~s_athen/ja.html \\\-/// jAmeson on IRC, NightFall =^= ^ TSC Astoria Karlsruhe

Sponsors

Affiliate Links

Sim Gaming Expo MOZA Racing Sim-Lab Fanatec TrakRacer Asetek Internet Privacy From NordVPN Dreamhost Capital One Credit Card Application Fanatical CDKeys Amazon Amazon UK Project Motor Racing iRacing Get your racing gloves, boots and more from Demon Tweeks. Enlist at Roberts Space Industries, developers of Star Citizen and Squadron 42


Back from the ashes since July, 2019. First created in 2001 with the merger of Legends Central (founded 1999) and simracing.dk.

A site by a sort of sim racer, for sim racers, about racing sims. News and information on both modern and historic sim racing software titles.

All products and licenses property of their respective owners.


Facebook Threads Bluesky Twitter Mastodon Instagram YouTube Tiktok Twitch Reddit Google News Apple News Subscribe via WordPress Flipboard eBay

Race Sim Central © 1999-2026 | Some links pay RSC a commission. Advertising does not equal endorsement.Cookie Policy