| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | pentium counter register |
Hi Rinat, > On 06 Dec 96 11:10:26 Rinat Sadretdinow said to Marcel Vandevusse <=- RS> You can gain access to this and many other registers from ring 0 only. RS> So you have to write your own device driver which will gather RS> information and transfer it to your program via ioctl or by some other RS> way (cannot imagine something better than ioctl though). Whats wrong with the normal stream read? I don't say you should not do IOCTL as well, but having some kind of timer device driver which delivers time_since's whenever you ask for one sounds like it could be useful. It could be called from any language which can read from a file , even if in a DOS box I presume. Stream output to same device might be used for reset, and possibly to split time per task. (Actually device-Open should create a new timer for the thread that opened). Andrew ... Remember, the waste paper basket is your truest friend. --- Blue Wave/Max v2.30 [NR]* Origin: Me/2 (2:254/259) SEEN-BY: 50/99 270/101 620/243 625/160 711/401 409 410 413 430 808 809 934 SEEN-BY: 711/955 712/407 515 624 628 713/317 800/1 @PATH: 254/259 442/403 255/1 440/4 141/209 270/101 712/515 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.