Article View: borland.public.cppbuilder.nativeapi
Article #16940Re: Harddisk
From: MWP
Date: Tue, 15 Apr 2003 17:47
Date: Tue, 15 Apr 2003 17:47
30 lines
2301 bytes
2301 bytes
Well i can give you a hit as to getting HDD time usage. Under WinXP (not sure about 2K) there are logical and physical disk performance counters (run "perfmon"). With a bit of work, % of time usage can be obtained using perfmon APIs. Andrue Cope <not.a.valid@email.address.sorry> wrote: >Michael F. S. Christensen, > >> 3D model: where is the head right now, lastest writes shown with red tracks, >> latest writes with green... Ability to zoom and rotate disk and getting >> realtime updates. - That would be awsome, nerdy and pretty coll wouldn't it? >> > >Tricky to get it accurate though. > >You can't easily equate physical sector number to cylinder/head/sector on >modern drives. Just because a given PSN mathematically equates to a given >C:H:S doesn't mean that that's actually where the drive is reading it from. > >Modern drives have fewer sectors on the inner tracks than on the outer which >you could probably account for but then you have the issue of spare sectors. >To account for them (and most drives still start off with a few) you'd have to >read the relevant table from the engineer section. Not easy and of course the >format is not standardised. > >But if anyone does write such a tool let me know - it would indeed by cool :) > >Andrue Cope >[Bicester, UK] >
Technical Details
Message-ID:
<3e9c459b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e9b6213$1@newsgroups.borland.com> <3e9b857e$1@newsgroups.borland.com> <3e9c2471$1@newsgroups.borland.com> <VA.00001c39.01b983ae@email.address.sorry>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,f602173162ec5925 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-15 10:53:08 PST From: "MWP" <mwp@overclockers.com.au> Sender: "MWP" <mwp@overclockers.com.au> Reply-To: "MWP" <mwp@overclockers.com.au> Subject: Re: Harddisk Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 203.17.15.142 203.17.15.142 X-Forwarded-For: unknown References: <3e9b6213$1@newsgroups.borland.com> <3e9b857e$1@newsgroups.borland.com> <3e9c2471$1@newsgroups.borland.com> <VA.00001c39.01b983ae@email.address.sorry> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3e9c459b$1@newsgroups.borland.com> Date: 15 Apr 2003 10:47:07 -0700 X-Trace: newsgroups.borland.com 1050428827 207.105.83.65 (15 Apr 2003 10:47:07 -0700) Lines: 31 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail